Skip to content
 
 

Repository files navigation

hackathon-2022-slackbot

Adapted from https://blog.logrocket.com/build-a-slackbot-in-node-js-with-slacks-bolt-api/

Required

  1. yarn

Setup Workspace and Slack App

  1. Clone this repo
  2. Create a new slack workspace for testing
  3. Create a new slack app > Create New App
  • Use manifest method
  • Upload the ./manifest.json file in this repo
  • Select the workspace you made above
  1. Install slack app to workspace
  2. Populate .env file variables
  • SLACK_BOT_OAUTH_TOKEN
    • Left Nav > Features > OAuth & Permissions
    • Copy token from OAuth Tokens for Your Workspace
  • SLACK_SIGNING_SECRET
    • Left Nav > Settings > Basic Information
    • Copy token from App Credentials Section
  • SLACK_APP_LEVEL_TOKEN
    • Left Nav > Settings > Basic Information > Generate App Level Token:
      • Name: SocketMode
      • Add Scope: connections:write and authorizations:read
    • Copy token after token creation
  1. Reinstall app if prompted

Getting Started

  1. yarn install dependencies
  2. yarn dev run server

Resources

About

Wordle bot for Slack

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages