uqcsbot is a chat bot built in python for use on our UQCS Slack Team.
To run the local development environment, make sure you have Python 3 installed.
- Run
python setup.py install
- Run
python -m uqcsbot --dev
To set everything up make sure you have Python 3 and virtualenv
- Create a Slack workspace
- Set up a
virtualenv
. See virtualenv docs for more information. - Activate the
virtualenv
python setup.py install
- Create a new Slack app
- Add a bot user to your app
- Install your app to your workspace. Install App > Install App to Workspace
- Copy the Bot User OAuth Access Token and set it as an environment variable under
SLACK_BOT_TOKEN
- Go to Basic Information, copy your Verification Token and set it as an environment variable under
SLACK_VERIFICATION_TOKEN
- Run
python -m uqcsbot
The bot should now be running and receiving all slack RTM events.