A Slack Bot for monitoring the status of channels
To set up, you will need to do several things:
- Clone this repository
- Make a virtual environment for this project
- Install requirements
- Log in to slack.com and create your API token. Then set the environment variable:
export SLACK_BOT_TOKEN=xxx
- Run the
python utils.py
. This will print out your bot ID and channel ID - Set these environment variables:
export BOT_ID=xxx
,export CHANNEL_ID=xxx
- Tweak the
startbot.py
to meet your needs - Run
python startbot.py
- In the Slack channel you've configured, run the command to get your list:
@starterbot check appservers