zahmis %!s(int64=5) %!d(string=hai) anos
pai
achega
bb4cc39efe
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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];