add rolebutton

This commit is contained in:
VALOU3336
2024-03-01 12:05:29 +01:00
parent 7ff8c0237f
commit 2b9c5efa33
20 changed files with 189 additions and 30 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ module.exports = {
let description = `Sélectionnez une catégorie parmi les options ci-dessous pour obtenir de l'aide sur les commandes correspondantes.\n Il y a ${totalCommands} commandes disponibles\n\n`;
for (const [category, commands] of Object.entries(categories)) {
description += `**Catégorie ${category}**\n`;
description += `**Catégorie ${category}** (${commands.length})\n`;
description += commands.length > 0 ? '> ' + commands.map(command => `\`${command.name}\``).join(', ') : '> Aucune commande dans cette catégorie';
description += '\n\n';
}