Minor Code Improvements

This commit is contained in:
Daniel Odendahl Jr
2017-05-03 01:03:59 +00:00
parent b18241f7bc
commit 74fa836044
16 changed files with 96 additions and 29 deletions
+5 -1
View File
@@ -46,7 +46,11 @@ module.exports = class WarnCommand extends Command {
.setAuthor(msg.author.tag, msg.author.displayAvatarURL)
.setColor(0xFFFF00)
.setTimestamp()
.setDescription(`**Member:** ${member.user.tag} (${member.id})\n**Action:** Warn\n**Reason:** ${reason}`);
.setDescription(
`**Member:** ${member.user.tag} (${member.id})
**Action:** Warn
**Reason:** ${reason}`
);
return modlogs.send({embed});
} catch (err) {
return msg.say('An Unknown Error Occurred.');