FM: Replace all <prefix> with prefix
This commit is contained in:
parent
653f9d0339
commit
e5862a323b
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
let sendText = "Something went wrong.";
|
||||
switch (args[0]) {
|
||||
case "help":
|
||||
sendText = this.moreHelp.join("\n").replace("<prefix>", prefix);
|
||||
sendText = this.moreHelp.join("\n").replace(/<prefix>/g, prefix);
|
||||
break;
|
||||
case "set":
|
||||
sendText = await fmlogin(message.author.id, args[1]);
|
||||
|
|
Loading…
Add table
Reference in a new issue