FM: Replace all <prefix> with prefix

This commit is contained in:
SileNce5k 2024-03-07 11:58:01 +01:00
parent 653f9d0339
commit e5862a323b
No known key found for this signature in database
GPG key ID: 961132EB78C8915F

View file

@ -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]);