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:
1 file changed
+21
@@ -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')] });
|
||||
}
|
||||
Reference in new issue
Block a user