ccashbot/commands/moderation/kick.js
Expand-sys 9422e6e2b3 good
2021-06-09 20:40:12 +10:00

15 lines
412 B
JavaScript

module.exports = {
name: 'kick',
description: 'Tag a member and kick them (but not really).',
guildOnly: true,
permissions: 'KICK_MEMBERS',
execute(message) {
if (!message.mentions.users.size) {
return message.reply('you need to tag a user in order to kick them!');
}
const taggedUser = message.mentions.users.first();
message.channel.send(`You wanted to kick: ${taggedUser.username}`);
},
};