discord.bots.gg
v0.3.0-v1.2
Published
Posting stats like server count, shard count on Discord Bots (discord.bots.gg) by Ray
Downloads
16
Maintainers
Readme
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)
| Name | Type | Default | Description | |------------|----------|---------|------------------------------------------------| | guildCount | integer | - | The number of guilds. | | shardCount | integer? | 1 | The number of shards the bot is running. | | shardId | integer? | 0 | The 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.