From afacc76e8a0474aa05cc234b9ac343186ffe363d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sat, 30 Mar 2019 05:11:33 +0100 Subject: [PATCH] fixed typo and added all the prefix in footer when showing help for a command --- commands/utility/help.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/commands/utility/help.js b/commands/utility/help.js index e3502e0..5dad341 100644 --- a/commands/utility/help.js +++ b/commands/utility/help.js @@ -40,7 +40,8 @@ class HelpCommand extends Command { const embed = this.client.util.embed() .setColor(0xFFAC33) .setTitle(`\`${prefix[0]}${command.aliases[0]} ${description.usage}\``) - .addField('Description', description.content); + .addField('Description', description.content) + .setFooter(`All the available prefix: ${prefix}`); for (const field of description.fields) embed.addField(field.name, field.value); @@ -64,7 +65,7 @@ class HelpCommand extends Command { 'This is a list of commands.', `To view details for a command, do \`${prefix[0]}help \`.` ]) - .setFooter(`All the aviable prefix: ${prefix}`); + .setFooter(`All the available prefix: ${prefix}`); for (const category of this.handler.categories.values()) { const title = {