diff --git a/commands/utils/help.js b/commands/utils/help.js index 07aa9b8..5c2e134 100644 --- a/commands/utils/help.js +++ b/commands/utils/help.js @@ -27,7 +27,9 @@ module.exports = { .addFields( { name: 'Utilisation', value: `\`${prefix}${command.utilisation ? `${command.utilisation}` : ''}\``, inline: true }, { name: 'Catégorie', value: command.category || 'Non spécifiée', inline: true } - ); + ) + .setTimestamp() + .setFooter({text: `${client.user.tag} © 2024`, iconURL: client.user.displayAvatarURL({dynamic: true})}) return message.reply({ embeds: [embed_command] }); } @@ -41,7 +43,6 @@ module.exports = { game: [], gestion: [], utils: [], - other: [], }; for (const command of client.commands.values()) { if (command.category) { @@ -63,6 +64,8 @@ module.exports = { .setTitle('📚 Information') .setDescription(description) .setThumbnail(message.guild.iconURL()) + .setTimestamp() + .setFooter({text: `${client.user.tag} © 2024`, iconURL: client.user.displayAvatarURL({dynamic: true})}) }; for (const [category, commands] of Object.entries(categories)) { @@ -76,7 +79,9 @@ module.exports = { embeds[category] = new EmbedBuilder() .setColor('#0099ff') .setTitle(`Catégorie ${category}`) - .setDescription(description); + .setDescription(description) + .setTimestamp() + .setFooter({text: `${client.user.tag} © 2024`, iconURL: client.user.displayAvatarURL({dynamic: true})}) } const menu = new StringSelectMenuBuilder()