h
This commit is contained in:
parent
084b357e20
commit
c9991733a2
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ let commands: SimpleCommand[];
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
cmd.run(message, args);
|
await cmd.run(message, args);
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
message.reply(`### An error has occurred:\n\`\`\`js\n${e}\n\`\`\``);
|
message.reply(`### An error has occurred:\n\`\`\`js\n${e}\n\`\`\``);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue