mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 08:12:04 +02:00
Fix for DBots POST
This commit is contained in:
@@ -108,7 +108,7 @@ client.on('guildCreate', guild => {
|
||||
}
|
||||
const DBotsPOST = {
|
||||
method: 'POST',
|
||||
uri: 'https://bots.discord.pw/api/bots/278305350804045834/stats',
|
||||
uri: 'https://bots.discord.pw/api/bots/' + config.botid + '/stats',
|
||||
body: {
|
||||
server_count: results.reduce((prev, val) => prev + val, 0)
|
||||
},
|
||||
@@ -145,7 +145,7 @@ client.on('guildDelete', guild => {
|
||||
}
|
||||
const DBotsPOST = {
|
||||
method: 'POST',
|
||||
uri: 'https://bots.discord.pw/api/bots/278305350804045834/stats',
|
||||
uri: 'https://bots.discord.pw/api/bots/' + config.botid + '/stats',
|
||||
body: {
|
||||
server_count: results.reduce((prev, val) => prev + val, 0)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user