mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 05:54:33 +02:00
Rip
This commit is contained in:
@@ -49,7 +49,7 @@ module.exports = class HackbanCommand extends Command {
|
|||||||
time: 30000
|
time: 30000
|
||||||
});
|
});
|
||||||
if (!msgs.size || !['y', 'yes'].includes(msgs.first().content.toLowerCase())) return msg.say('Aborting.');
|
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,
|
days: 7,
|
||||||
reason: `${msg.author.tag}: ${reason}`
|
reason: `${msg.author.tag}: ${reason}`
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user