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