feat(moderation): add kick command skeleton

Refs: #67
This commit is contained in:
nocode committed 2026-09-13 12:25:09 +02:00
1 parent 373c7e6455
commit 4cc475edef
1 file changed
+17
+17
View File
@@ -0,0 +1,17 @@
import { PermissionFlagsBits, SlashCommandBuilder } from 'discord.js';
import { ACCESS_LEVELS } from '../../config/constants.js';
import { notImplementedEmbed } from '../../ui/embeds.js';
export const access = ACCESS_LEVELS.STAFF;
export const data = new SlashCommandBuilder()
.setName('kick')
.setDescription('Expulser un membre du serveur')
.setDefaultMemberPermissions(PermissionFlagsBits.KickMembers)
.addUserOption((option) => option.setName('user').setDescription('Membre').setRequired(true))
.addStringOption((option) => option.setName('reason').setDescription('Raison').setMaxLength(500));
// TODO(M8-T03): kick after canActOn() check and log the action.
export async function execute(interaction) {
await interaction.reply({ embeds: [notImplementedEmbed('/kick')] });
}