mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:26:21 +02:00
Don't send stats if code isn't set
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user