addquick.db

This commit is contained in:
VALOU3336
2024-02-15 18:41:12 +01:00
parent b25d34d2be
commit 0bab670ce4
3 changed files with 440 additions and 2 deletions
-2
View File
@@ -7,7 +7,6 @@ module.exports = {
utilisation: 'help [commande]',
async execute(message, args, client) {
if (args[0]) {
// L'utilisateur a fourni un argument, affichez l'aide pour cette commande
const command = client.commands.get(args[0]);
if (!command) {
return message.reply(`Je n'ai pas trouvé de commande nommée "${args[0]}".`);
@@ -57,7 +56,6 @@ module.exports = {
.setThumbnail(message.guild.iconURL())
};
// Créez un embed pour chaque catégorie
for (const [category, commands] of Object.entries(categories)) {
let description;
if (commands.length > 0) {