This commit is contained in:
Dragon Fire
2021-04-16 08:01:23 -04:00
parent fa46943e12
commit 105bb18ae6
+2 -2
View File
@@ -65,7 +65,7 @@ module.exports = class XiaoClient extends CommandoClient {
async postBotsGGStats() {
try {
const { body } = await request
.post(`https://discordbotlist.com/api/v1/bots/${this.user.id}/stats`)
.post(`https://discord.bots.gg/api/bots/${this.user.id}/stats`)
.set({ Authorization: BOTS_GG_TOKEN })
.send({ guildCount: this.guilds.size });
this.logger.info('[BOTS.GG] Posted stats.');
@@ -79,7 +79,7 @@ module.exports = class XiaoClient extends CommandoClient {
async postDiscordBotListStats() {
try {
const { body } = await request
.post(`https://discord.bots.gg/api/bots/${this.user.id}/stats`)
.post(`https://discordbotlist.com/api/v1/bots/${this.user.id}/stats`)
.set({ Authorization: DISCORDBOTLIST_TOKEN })
.send({
guilds: this.guilds.size,