Cleanup Stray Commands

This commit is contained in:
Daniel Odendahl Jr
2017-03-22 01:06:56 +00:00
parent 1063b7e3c2
commit 3b1fe16ada
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ client.on('guildCreate', guild => {
client.on('guildDelete', guild => {
console.log("[Guild] I have left the guild: " + guild.name + ", " + guild.owner.user.username + " (" + guild.id + ")...");
client.guilds.get(config.server).channels.get('265503171835592704').send("I have left the guild: " + guild.name + " (Owner: " + guild.owner.user.username + ")...");
client.guilds.get(config.server).channels.get(config.announcementChannel).send("I have left the guild: " + guild.name + " (Owner: " + guild.owner.user.username + ")...");
client.shard.fetchClientValues('guilds.size').then(results => {
console.log("[Guild Count] " + results.reduce((prev, val) => prev + val, 0));
request