mirror of
https://github.com/arthur-pbty/gestion-perso.git
synced 2026-06-24 14:17:45 +02:00
add command
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ module.exports = {
|
||||
.setTitle(`Aide pour la commande ${command.emote ? ` ${command.emote}` : '🔧'} ${command.name}`)
|
||||
.setDescription(command.description)
|
||||
.addFields(
|
||||
{ name: 'Utilisation', value: `\`${prefix}${command.utilisation ? `${command.utilisation}` : ''}\``, inline: true },
|
||||
{ name: 'Utilisation', value: `\`${prefix}${command.name}${command.utilisation ? ` ${command.utilisation}` : ''}\``, inline: true },
|
||||
{ name: 'Catégorie', value: command.category || 'Non spécifiée', inline: true },
|
||||
{ name: 'Alias', value: command.aliases ? command.aliases.map((alias: string) => `\`${alias}\``).join(', ') : 'Aucun', inline: true },
|
||||
{ name: 'Permissions', value: `Perm level: ${command.permission}` || 'Indéfini', inline: true },
|
||||
|
||||
Reference in New Issue
Block a user