Fix bots.gg post

This commit is contained in:
Dragon Fire
2021-04-17 17:02:11 -04:00
parent cefce360c2
commit 669fc44ef4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ module.exports = class XiaoClient extends CommandoClient {
if (!BOTS_GG_TOKEN) return null;
try {
const { body } = await request
.post(`https://discord.bots.gg/api/bots/${this.user.id}/stats`)
.post(`https://discord.bots.gg/api/v1/bots/${this.user.id}/stats`)
.set({ Authorization: BOTS_GG_TOKEN })
.send({ guildCount: this.guilds.cache.size });
this.logger.info('[BOTS.GG] Posted stats.');