mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 02:15:10 +02:00
Fix?
This commit is contained in:
@@ -48,7 +48,9 @@ module.exports = class KickCommand extends Command {
|
||||
} catch (err) {
|
||||
await message.say('Failed to send DM.');
|
||||
}
|
||||
await member.kick();
|
||||
await member.kick({
|
||||
reason
|
||||
});
|
||||
await message.say(':ok_hand:');
|
||||
const embed = new RichEmbed()
|
||||
.setAuthor(message.author.tag, message.author.displayAvatarURL)
|
||||
|
||||
Reference in New Issue
Block a user