bot-ping
v2.1.0
Published
Best and easy to use multi-purpose discord.js package.
Downloads
37
Maintainers
Readme
bot-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
- Must have latest discord.js
- Must have enabled [SERVER MEMBERS INTENT] in your bot to get exact numbers [You can enable it from https://discord.com/developers/applications/]
Require bot-ping
const { ServerStats , LoadNotification } = require("bot-ping");
Examples:
ServerStats:
- You must give the value of [ Discord , bot, GuildId, Statschannel ]
const { ServerStats , LoadNotification } = require("bot-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");