From 6de6228a0d30b1104635eb7550870df68d87fb46 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Thu, 23 Mar 2017 13:24:01 +0000 Subject: [PATCH] Okay, it's weird, but don't await that --- commands/botinfo/info.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/botinfo/info.js b/commands/botinfo/info.js index 21150c04..bb48ef30 100644 --- a/commands/botinfo/info.js +++ b/commands/botinfo/info.js @@ -24,8 +24,8 @@ module.exports = class InfoCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES', 'EMBED_LINKS'])) return; } console.log(`[Command] ${message.content}`); - await this.client.shard.fetchClientValues('guilds.size').then(guilds => { - await this.client.shard.fetchClientValues('voiceConnections.size').then(vCConnections => { + this.client.shard.fetchClientValues('guilds.size').then(guilds => { + this.client.shard.fetchClientValues('voiceConnections.size').then(vCConnections => { const embed = new Discord.RichEmbed() .setTitle('Welcome to XiaoBot!') .setAuthor(this.client.user.username, this.client.user.avatarURL)