Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.1 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.1 KB

uqcsbot

uqcsbot is a chat bot built in python for use on our UQCS Slack Team.

Setting up the local development environment

To run the local development environment, make sure you have Python 3 installed.

  1. Run python setup.py install
  2. Run python -m uqcsbot --dev

Setting up the remote development environment

To set everything up make sure you have Python 3 and virtualenv

  1. Create a Slack workspace
  2. Set up a virtualenv. See virtualenv docs for more information.
  3. Activate the virtualenv
  4. python setup.py install
  5. Create a new Slack app
  6. Add a bot user to your app
  7. Install your app to your workspace. Install App > Install App to Workspace
  8. Copy the Bot User OAuth Access Token and set it as an environment variable under SLACK_BOT_TOKEN
  9. Go to Basic Information, copy your Verification Token and set it as an environment variable under SLACK_VERIFICATION_TOKEN
  10. Run python -m uqcsbot

The bot should now be running and receiving all slack RTM events.