diff --git a/bot/src/bot/modules/command_handler.ts b/bot/src/bot/modules/command_handler.ts index c0c6242..76f2902 100644 --- a/bot/src/bot/modules/command_handler.ts +++ b/bot/src/bot/modules/command_handler.ts @@ -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\`\`\``); }