Use config prefix for help info
This commit is contained in:
parent
8d2b7cd27e
commit
c8a5b436ab
1 changed files with 4 additions and 3 deletions
|
@ -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: <https://github.com/1Computer1/comp_iler>'
|
||||
]);
|
||||
|
|
Loading…
Reference in a new issue