Explorar o código

add args to the error sentence

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