Don't send stats if code isn't set

This commit is contained in:
Dragon Fire
2021-04-16 08:20:58 -04:00
parent 294d4576b6
commit 9e95123684
3 changed files with 21 additions and 0 deletions
+2
View File
@@ -183,9 +183,11 @@ client.on('ready', async () => {
}
// Post bot list stats
await client.postTopGGStats();
await client.postBotsGGStats();
await client.postDiscordBotListStats();
setInterval(() => {
client.postTopGGStats();
client.postBotsGGStats();
client.postDiscordBotListStats();
}, 1.8e+6);