Skip to content

pichsenmeister/sticker-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stickers for Slack

Install Stickers for Slack

This app uses the Bolt for Slack framework and Google Firebase.

Slack app configuration

  1. Create an app on Slack
  2. Enable Home Tab and Messages Tab in App Home
  3. Enable Interactivity & Shortcuts and enter your Request url
  4. Add shortcuts
  • Send a sticker of type Global and callback ID sticker:shortcut
  • Reply with sticker of type Message and callback ID sticker:respond
  1. Add a Slash command /stickers
  2. Enable Event Subscription
  • Subscribe to Bot Events: app_home_opened, message.im
  1. Add Bot Token Scopes in OAuth & Permissions
  • chat:write
  • commands
  • files:read
  • im:history
  • im:write
  • reactions:write
  1. Enable distribution under Manage Distribution and enter your Redirect url

Firebase configuration

  1. Create a new Firebase project
  2. Enable Firestore
  3. Enable Storage
  4. Create a Service Account under Project Settings

Run the app

  1. Install dependencies via npm or yarn
  2. Create a .env file and with following keys
  • SLACK_SIGNING_SECRET=<your Slack app's signing secret>
  • SLACK_CLIENT_ID=<your Slack app's client id>
  • SLACK_CLIENT_SECRET=<your Slack app's client secret>
  • SLACK_REDIRECT_URL=<your redirect url>
  • SLACK_API_URL=https://slack.com/api
  • FIREBASE_SERVICE_ACCOUNT=<path to your firebase service account key>
  • FIREBASE_STORAGE=<your firebase storage bucket>
  • FIREBASE_DATABASE=<your firstore url>

About

Stickers for Slack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published