diff --git a/commands/Fun/joke.js b/commands/Fun/joke.js index c4c2ed9a..3abaaa21 100644 --- a/commands/Fun/joke.js +++ b/commands/Fun/joke.js @@ -18,7 +18,7 @@ class Joke extends Command { } async run (message, args, data) { - // if (!this.client.config.apiKeys.blagueXYZ) return message.error("misc:COMMAND_DISABLED"); + if (!this.client.config.apiKeys.blagueXYZ) return message.error("misc:COMMAND_DISABLED"); // const joke = await this.client.joker.randomJoke(data.guild.language.substr(0, 2)); const joke = await this.client.joker.randomJoke("en"); diff --git a/commands/General/help.js b/commands/General/help.js index 15a7484c..56ffd4da 100644 --- a/commands/General/help.js +++ b/commands/General/help.js @@ -67,7 +67,7 @@ class Help extends Command { .setFooter(data.config.embed.footer); categories.sort().forEach((cat) => { const tCommands = commands.filter((cmd) => cmd.help.category === cat); - embed.addField(emojis.categories[cat.toLowerCase()]+" "+cat+" - ("+tCommands.size+")", tCommands.map((cmd) => "`"+cmd.help.name+"`").join(", ")); + embed.addField(`${emojis.categories[cat.toLowerCase()]} ${cat} - (${tCommands.size})`, `${tCommands.map((cmd) => `${cmd.help.name}`).join(", ")}`); }); if (message.guild) { if (data.guild.customCommands.length > 0) embed.addField(emojis.categories.custom+" "+message.guild.name+" | "+message.translate("general/help:CUSTOM_COMMANDS")+" - ("+data.guild.customCommands.length+")", data.guild.customCommands.map((cmd) => "`"+cmd.name+"`").join(", "));