Browse Source

Added await!

hakumizuki 4 years ago
parent
commit
d4d1e53633
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/server/service/slackbot.js

+ 1 - 1
src/server/service/slackbot.js

@@ -71,7 +71,7 @@ class SlackBotService extends S2sMessageHandlable {
       module = `./slack-command-handler/${command}`;
     }
     catch (err) {
-      this.notCommand(client, body);
+      await this.notCommand(client, body);
     }
 
     try {