Browse Source

fix grammer

kaori 5 years ago
parent
commit
df434c048f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/slackbot-proxy/src/services/RegisterService.ts

+ 2 - 2
packages/slackbot-proxy/src/services/RegisterService.ts

@@ -67,8 +67,8 @@ export class RegisterService implements GrowiCommandProcessor {
     await client.chat.postEphemeral({
     await client.chat.postEphemeral({
       channel: payload.response_urls[0].channel_id,
       channel: payload.response_urls[0].channel_id,
       user: payload.user.id,
       user: payload.user.id,
-      // Recommended to include text to provide a fallback when using blocks
-      // https://api.slack.com/methods/chat.postEphemeral#text_usage
+      // Recommended including 'text' to provide a fallback when using blocks
+      // refer to https://api.slack.com/methods/chat.postEphemeral#text_usage
       text: 'Proxy URL',
       text: 'Proxy URL',
       blocks: [
       blocks: [
         generateMarkdownSectionBlock('Please enter and update the following Proxy URL to slack bot setting form in your GROWI'),
         generateMarkdownSectionBlock('Please enter and update the following Proxy URL to slack bot setting form in your GROWI'),