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
@@ -61,7 +61,11 @@ module.exports = class UnbanCommand extends Command {
.setAuthor(msg.author.tag, msg.author.displayAvatarURL)
.setColor(0x00AE86)
.setTimestamp()
.setDescription(`**Member:** ${member.tag} (${member.id})\n**Action:** Unban\n**Reason:** ${reason}`);
.setDescription(
`**Member:** ${member.tag} (${member.id})
**Action:** Unban
**Reason:** ${reason}`
);
return modlogs.send({embed});
} catch (err) {
return msg.say('An Unknown Error Occurred.');