Fix fmhelp command crashing the bot
Was trying to send an array. Didn't think...
This commit is contained in:
parent
51e810264c
commit
0871b659a1
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ module.exports = {
|
||||||
let sendText = "Something went wrong.";
|
let sendText = "Something went wrong.";
|
||||||
switch (args[0]) {
|
switch (args[0]) {
|
||||||
case "help":
|
case "help":
|
||||||
sendText = this.moreHelp;
|
sendText = this.moreHelp.join("\n");
|
||||||
break;
|
break;
|
||||||
case "set":
|
case "set":
|
||||||
sendText = await fmlogin(message.author.id, args[1]);
|
sendText = await fmlogin(message.author.id, args[1]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue