From 669fc44ef4f254d2f81f1e8cf167b0ec78e6bb71 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 17 Apr 2021 17:02:11 -0400 Subject: [PATCH] Fix bots.gg post --- package.json | 2 +- structures/Client.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1b69f05e..f42b54a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "134.16.1", + "version": "134.16.2", "description": "Your personal server companion.", "main": "Xiao.js", "private": true, diff --git a/structures/Client.js b/structures/Client.js index fdb1801b..03f5efe5 100644 --- a/structures/Client.js +++ b/structures/Client.js @@ -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.');