Kaynağa Gözat

add args to the error sentence

kaori 5 yıl önce
ebeveyn
işleme
c06f2aae99
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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({
       this.client.chat.postEphemeral({
         channel: command.channel_id,
         channel: command.channel_id,
         user: command.user_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;
       return;
     }
     }