Add helpPanel if msg.content == '@bot'

This commit is contained in:
*x1
2024-06-25 15:45:09 +02:00
parent c0fc8fcf70
commit 0f94e037fd
+10
View File
@@ -66,6 +66,16 @@ module.exports = {
message.content === `<@${client.user.id}>`
) {
message.reply(`Mon prefix est \`${prefix}\``);
const command = client.commands.get('help');
try {
command.execute(message, null, client);
console.log(`[${prefix}] ${message.guild.name} | ${message.author.tag} | ${command.name}`.blue)
loggT(`[${prefix}] ${message.guild.name} | ${message.author.tag} | ${command.name}`)
} catch (error) {
console.error(error);
loggerT(error)
message.reply("Erreur lors de l'exécution de la commande help");
}
}
},
};