mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
Rip
This commit is contained in:
@@ -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}`
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user