Fix for DBots POST

This commit is contained in:
dragonfire535
2017-03-09 09:44:09 -05:00
parent 61122efbb2
commit f9d2fcce39
+2 -2
View File
@@ -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)
},