feat(gitea): add activity and release command skeleton

Refs: #48
This commit is contained in:
nocode committed 2026-09-13 12:25:08 +02:00
1 parent 44c9595ae0
commit d9ce9e4aae
1 file changed
+16
+16
View File
@@ -0,0 +1,16 @@
import { SlashCommandBuilder } from 'discord.js';
import { ACCESS_LEVELS } from '../../config/constants.js';
import { notImplementedEmbed } from '../../ui/embeds.js';
export const access = ACCESS_LEVELS.USER;
export const data = new SlashCommandBuilder()
.setName('gitea')
.setDescription('Activité Gitea de FWS Arch')
.addSubcommand((sub) => sub.setName('activity').setDescription('Commits, issues et PR récents'))
.addSubcommand((sub) => sub.setName('release').setDescription('Releases disponibles'));
// TODO(M5-T06 / M5-T07): implement with services/gitea/gitea-client.js.
export async function execute(interaction) {
await interaction.reply({ embeds: [notImplementedEmbed(`/gitea ${interaction.options.getSubcommand()}`)] });
}