Skip to content

kou029w/daraz-san

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

だらずさん ⚡

Bolt で作られた だらずさん

  1. デプロイ
  2. Slack アプリの作成
  3. 環境変数の設定

デプロイ

Deploy with Vercel

Slack アプリの作成

Slack Applications → Create New App → From an app manifest

下記の Manifest の {Vercelのプロジェクト名} の部分を変更してコピペして、Slack アプリを作成します。

display_information:
  name: だらずさん
features:
  bot_user:
    display_name: daraz-san
oauth_config:
  scopes:
    bot:
      - channels:history
      - chat:write
settings:
  event_subscriptions:
    request_url: https://{Vercelのプロジェクト名}.vercel.app/api/slack/events
    bot_events:
      - message.channels

環境変数の設定

Vercel Dashboard → 対象のプロジェクト → Settings → Environment Variables

  • SLACK_BOT_TOKEN ... Slack Applications → だらずさん → Permissions ページにある xoxb- から始まるボットトークン
  • SLACK_SIGNING_SECRET ... Slack Applications → だらずさん → Basic Information ページにある Signing Secret

これらの環境変数を設定後、再びデプロイして反映します。

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •