Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

JosiahSiegel/slack-boltjs-app

Repository files navigation

Slack-Boltjs-App

CodeQL njsscan sarif Codacy Badge

Remix on Glitch

A secure and simple Boltjs app for Slack ChatOps

App includes basic GitHub push functionality to get you started

Quickstart

  • cp .env.example .env
    • Update .env ⚠️(required)⚠️
  • cp .help.example .help
    • Update .help (optional)
  • npm install
  • npm start

Helpful links

Example Slack app manifest

display_information:
  name: Bolt DevBot
features:
  app_home:
    home_tab_enabled: true
    messages_tab_enabled: false
    messages_tab_read_only_enabled: false
  bot_user:
    display_name: DevBot
    always_online: true
oauth_config:
  scopes:
    bot:
      - app_mentions:read
      - calls:write
      - channels:read
      - chat:write
      - commands
      - channels:history
      - reactions:read
settings:
  event_subscriptions:
    bot_events:
      - app_home_opened
      - app_mention
      - message.channels
      - reaction_added
  interactivity:
    is_enabled: true
  org_deploy_enabled: false
  socket_mode_enabled: true
  token_rotation_enabled: false

Tips:

  • For external workspace users, add an app.message per app.command.
  • Check vulnerabilities: npm audit
  • Fix Glitch out of sync with repo:
    • git pull
    • refresh
  • Hard refresh Glitch from repo:
    • git fetch --all
    • git reset --hard origin/main
    • refresh

Glitch GitHub