Current Changes are in

This commit is contained in:
Daniel Odendahl Jr
2017-03-23 22:25:44 +00:00
parent c2f06d25b1
commit 5329d08581
12 changed files with 103 additions and 90 deletions
+2 -2
View File
@@ -22,10 +22,10 @@ module.exports = class EmojiCommand extends commando.Command {
}
console.log(`[Command] ${message.content}`);
if (message.channel.type !== 'dm') {
return message.channel.send(message.guild.emojis.map(e => e).join(" "));
let emojiMes = await message.channel.send(message.guild.emojis.map(e => e).join(" "));
}
else {
return message.channel.send(":x: Error! This command does not work in DM!");
let errorMessage = await message.channel.send(":x: Error! This command does not work in DM!");
}
}
};
+2 -2
View File
@@ -40,10 +40,10 @@ module.exports = class GuildInfoCommand extends commando.Command {
`${message.guild.owner.user.username}#${message.guild.owner.user.discriminator}`, true)
.addField("**Users:**",
message.guild.memberCount, true);
return message.channel.sendEmbed(embed).catch(console.error);
let embededMessage = await message.channel.sendEmbed(embed);
}
else {
return message.channel.send(":x: Error! This command does not work in DM!");
let errorMessage = await message.channel.send(":x: Error! This command does not work in DM!");
}
}
};