Added configurable config in help command
This commit is contained in:
parent
9ac5808b5d
commit
b371825a66
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ exports.run = (client, message, args) => {
|
|||
function displayHelp(channel) {
|
||||
var helpString = [
|
||||
"**Lista dostępnych komend:**",
|
||||
...help.map(e => `\`!${e.command}\`: ${e.text}`)
|
||||
...help.map(e => `\`${client.config.prefix}${e.command}\`: ${e.text}`)
|
||||
].join("\n");
|
||||
channel.send(helpString);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue