zahmis 5 năm trước cách đây
mục cha
commit
bb4cc39efe
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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];