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:
4 files changed
+77
-6
No files matched your search
@@ -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.`);
|
||||
}
|
||||
Reference in new issue
Block a user