feat(core): add shared constants, interaction components and Gitea client helpers

Moderation, tickets, polls and Gitea events reuse the same labels, colours and buttons; normalising list responses in the client keeps both commands and webhooks free of version quirks.
This commit is contained in:
BlackAngelTV committed 2026-09-15 14:50:34 +02:00
1 parent 03a217c775
commit 66be463ba3
4 files changed
+77 -6

No files matched your search

-6
View File
@@ -17,9 +17,3 @@ export function successEmbed(description) {
export function errorEmbed(description) {
return baseEmbed(COLORS.error).setTitle('Erreur').setDescription(description);
}
export function notImplementedEmbed(feature) {
return baseEmbed(COLORS.warning)
.setTitle('Bientôt disponible')
.setDescription(`La fonctionnalité **${feature}** n'est pas encore implémentée.`);
}