Skip to content

ntuhpc/slack-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack bot

The bot we deployed to our Slack team

Development

Create a Python 3 virtual environment and install dependencies listed in requirements.txt.

$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Deployment

First obtain the API token from Slack website. Then obtain the bot id by running print_bot_id.py.

$ SLACK_BOT_TOKEN=<token> python print_bot_id.py

Then run the main script enigma.py.

$ SLACK_BOT_TOKEN=<token> BOT_ID=<bot-id> python enigma.py

About

The slack bot used in our Slack team

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages