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
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "134.16.1",
"version": "134.16.2",
"description": "Your personal server companion.",
"main": "Xiao.js",
"private": true,
+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.');