zahmis 5 anni fa
parent
commit
bb4cc39efe
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/server/service/bolt.js

+ 2 - 1
src/server/service/bolt.js

@@ -86,7 +86,8 @@ class BoltService {
 
 
     // TODO check if firstArg is the supported command(like "search")
-    this.bolt.command('/growi', async({ command }) => {
+    this.bolt.command('/growi', async({ command, ack }) => {
+      await ack();
       const inputSlack = command.text.split(' ');
       const firstArg = inputSlack[0];
       const secondArg = inputSlack[1];