mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix bots.gg post
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "134.16.1",
|
||||
"version": "134.16.2",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"private": true,
|
||||
|
||||
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user