From f9d2fcce391943388de6cbd27d692dad3f8bacef Mon Sep 17 00:00:00 2001 From: dragonfire535 Date: Thu, 9 Mar 2017 09:44:09 -0500 Subject: [PATCH] Fix for DBots POST --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index d8068853..ee58efb0 100644 --- a/index.js +++ b/index.js @@ -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) },