mirror of
https://github.com/Expand-sys/ccashbot
synced 2025-12-16 23:52:14 +11:00
15 lines
412 B
JavaScript
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}`);
|
|
},
|
|
};
|