Hi, I would like to know: as @Lyss#0001 told me, the incorrect number of shards and servers on top.gg site is coming from my side, so please can someone tell me what's wrong with my request ?
My discord bot has 36 shards for 35,980 servers but on the top.gg web page we can see only 24 shards for 26,400 servers (https://top.gg/bot/318312854816161792).
I have checked and all my requests are sent by the bot and the send interval is 3600000 (1 hour) to be sure to not overload the top.gg services.
Here the code i use to send my shards stats:
const fetch = require('node-fetch');
Client.setInterval(() => {
fetch(`https://top.gg/api/bots/${Client.user.id}/stats`, {
method: 'post',
body: JSON.stringify({
server_count: Client.guilds.cache.size,
shard_id: Client.shard.ids[0],
shard_count: Client.shard.count,
}),
headers: {
'Authorization': process.env.topgg_token,
'Content-Type': 'application/json',
},
});
}, 3600000);```