This commit is contained in:
Daniel Odendahl Jr
2017-04-30 15:10:54 +00:00
parent 2f831418fb
commit c10fbc2aa2
3 changed files with 12 additions and 4 deletions
+4 -1
View File
@@ -51,7 +51,10 @@ module.exports = class BanCommand extends Command {
} catch (err) {
await message.say('Failed to send DM to user.');
}
await member.ban(7);
await member.ban({
days: 7,
reason
});
await message.say(':ok_hand:');
const embed = new RichEmbed()
.setAuthor(message.author.tag, message.author.displayAvatarURL)