From 371c095f77fb23129ff05c4a9bd29baa993996bc Mon Sep 17 00:00:00 2001 From: dragonfire535 Date: Thu, 9 Mar 2017 01:15:44 -0500 Subject: [PATCH] Fix GuildDelete --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 22a961f4..c40c66d0 100644 --- a/index.js +++ b/index.js @@ -132,8 +132,8 @@ client.on('guildCreate', guild => { client.on('guildDelete', guild => { console.log("[Guild] I have left the guild: " + guild.name + " (" + guild.id + ")..."); - console.log("[POST] " + results); client.shard.fetchClientValues('guilds.size').then(results => { + console.log("[POST] " + results); const carbonPOST = { method: 'POST', uri: 'https://www.carbonitex.net/discord/data/botdata.php',