Skip to content
CrossingsConPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

SpotBot

A friendly and helpful bot for the Crossings Slack!

Features

  • Wishes users happy birthday on their birthday
  • Spotlights a new channel every month

Setup

  1. Enable the following Bot Token OAuth scopes for Spotbot:
  • channels:read (to look for channels to feature in the channel spotlight)
  • chat:write (to send messages)
  • users:read (to find out users' timezones for timezone-appropriate birthday wishes)
  • users.profile:read (to look for birthdays in users' profiles)
  1. Assign environment variables in .env:
  • your Bot User OAuth Access Token goes in SLACK_BOT_TOKEN
  • your Signing Secret goes in SLACK_SIGNING_SECRET
  • the port you want SpotBot to run on (default: 3000) goes in PORT (SpotBot doesn't need a port because it doesn't respond to any events from Slack.)
  1. If you're running it locally, do the usual Node thing:
$ npm install
$ node run start
  1. If you're setting it up on a server, register it with systemd:

Instructions TBD. Reference this for now.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages