server-ping

1.7.1 • Public • Published

server-ping

Best and easy to use multi-purpose discord.js package.

Follow me: https://github.com/Hjgaming

Support Server: https://discord.gg/7wmb5x7qp4

Features [2.1.0]

  • Advance bot stats

PREVIEW

Change logs

  • No changes rn

Things to know

Require server-ping

const { ServerStats , LoadNotification } = require("server-ping");

Examples:

ServerStats:

  • You must give the value of [ Discord , bot, GuildId, Statschannel ]
const { ServerStats , LoadNotification } = require("server-ping");
const Discord = require("discord.js");

const client = new Discord.Client()

client.on("ready", async () => {
    LoadNotification();
    console.log(`${client.user.tag} is now online.`);
    });

client.on("ready", async () => {

  const bot = client; //if you have <Client> as client 
  const GuildId = "Your-Guild-Id";
  const Statschannel = "Stats-Channel-Id";

 ServerStats(Discord , bot , GuildId , Statschannel)


})

client.login("BotToken");

Package Sidebar

Install

npm i server-ping

Weekly Downloads

12

Version

1.7.1

License

ISC

Unpacked Size

18.5 kB

Total Files

14

Last publish

Collaborators

  • hjgaming