feat(moderation): add moderation logs command skeleton

Refs: #70
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
nocodeandClaude Opus 5 committed 2026-09-13 12:19:13 +02:00
1 parent dc1fc3423b
commit 2084935a22
1 file changed
+21
+21
View File
@@ -0,0 +1,21 @@
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('mod')
.setDescription('Outils de modération')
.setDefaultMemberPermissions(PermissionFlagsBits.ModerateMembers)
.addSubcommand((sub) =>
sub
.setName('logs')
.setDescription('Consulter les actions de modération')
.addUserOption((option) => option.setName('user').setDescription('Filtrer par membre')),
);
// TODO(M8-T06): read from moderation_actions.
export async function execute(interaction) {
await interaction.reply({ embeds: [notImplementedEmbed('/mod logs')] });
}