0.3.0-v1.2 • Published 5 years ago

discord.bots.gg v0.3.0-v1.2

Weekly downloads
21
License
ISC
Repository
github
Last release
5 years ago

Discord Bots Post Stats

Before you start to post the stats on Discord Bots, first you need to pick up the token. Regenerate your new API token here


Done regenerate your new API token, now do this on your main file.

const discordbots = require('discordbotsgg')
const dbots = new discordbots('1 8  I D  b o t', 'Y O U R  A P I  T O K E N')

postStats

Post the stats on Discord Bots Client.

dbots.postStats(bot.guilds.size, bot.shard.count, bot.shard.id)
NameTypeDefaultDescription
guildCountinteger-The number of guilds.
shardCountinteger?1The number of shards the bot is running.
shardIdinteger?0The shardId that is reporting the guild count.

Response

{
  "guildCount": 10,
  "shardCount": 1
}

Any questions? You can ask it here: Discord Bots Official Server Discord Bots Website


Just to say. Don't use the oldest version (less than 0.3.0) If you have any issues or problems, ask your problems here.