From c8a5b436ab1440b506ba03c2231eeb116b669a94 Mon Sep 17 00:00:00 2001 From: 1computer1 Date: Mon, 3 Jun 2019 18:45:55 -0400 Subject: [PATCH] Use config prefix for help info --- src/commands/help.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/commands/help.js b/src/commands/help.js index 7d44977..abbc2b2 100644 --- a/src/commands/help.js +++ b/src/commands/help.js @@ -9,12 +9,13 @@ class HelpCommand extends Command { } exec(message) { + const { prefix, codePrefix } = this.client.config; return message.util.send([ '**Usage:**', - 'Put a `>` before a code block or inline codeblock that starts with a language code to execute it.', - 'You can add options, separated by semicolons, after the `>`.', + `Put a \`${codePrefix}\` before a code block or inline codeblock that starts with a language code to execute it.`, + `You can add options, separated by semicolons, after the \`${codePrefix}\`.`, '', - 'For list of enabled languages, use the `>languages` command.', + `For list of enabled languages, use the \`${prefix}languages\` command.`, '', 'See the readme for usage examples, supported languages, and options: ' ]);