mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 10:45:27 +00:00
h
This commit is contained in:
parent
084b357e20
commit
c9991733a2
|
@ -116,7 +116,7 @@ let commands: SimpleCommand[];
|
|||
}
|
||||
|
||||
try {
|
||||
cmd.run(message, args);
|
||||
await cmd.run(message, args);
|
||||
} catch(e) {
|
||||
message.reply(`### An error has occurred:\n\`\`\`js\n${e}\n\`\`\``);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue