Przeglądaj źródła

add args to the error sentence

kaori 5 lat temu
rodzic
commit
c06f2aae99
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/server/service/bolt.js

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

@@ -169,7 +169,7 @@ class BoltService {
       this.client.chat.postEphemeral({
         channel: command.channel_id,
         user: command.user_id,
-        blocks: [this.generateMarkdownSectionBlock('*No page that match your keywords.*')],
+        blocks: [this.generateMarkdownSectionBlock(`*No page that matches your keyword "${args}".*`)],
       });
       return;
     }