This commit is contained in:
Daniel Odendahl Jr
2017-08-18 11:19:10 +00:00
parent 661802ef9f
commit 624746d75f
+1 -1
View File
@@ -49,7 +49,7 @@ module.exports = class HackbanCommand extends Command {
time: 30000
});
if (!msgs.size || !['y', 'yes'].includes(msgs.first().content.toLowerCase())) return msg.say('Aborting.');
await msg.guild.ban({
await msg.guild.ban(id, {
days: 7,
reason: `${msg.author.tag}: ${reason}`
});