From c9991733a20214ef9ed7858690c63cdfc9815d93 Mon Sep 17 00:00:00 2001 From: janderedev Date: Mon, 4 Apr 2022 20:29:46 +0200 Subject: [PATCH] h --- bot/src/bot/modules/command_handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\`\`\``); }