Prefix Change and General Code Improvements

This commit is contained in:
Daniel Odendahl Jr
2017-04-17 15:33:20 +00:00
parent 75ad7fecaa
commit fd221e6f56
20 changed files with 29 additions and 30 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ module.exports = class WarnCommand extends Command {
.setColor(0xFFFF00)
.setTimestamp()
.setDescription(`**Member:** ${member.user.tag} (${member.id})\n**Action:** Warn\n**Reason:** ${reason}`);
return message.guild.channels.find('name', 'mod_logs').sendEmbed(embed);
return message.guild.channels.find('name', 'mod_logs').send({embed});
}
catch (err) {
return message.say(':x: Error! Something went wrong!');