NOTE: Replaced with https://github.com/MUNComputerScienceSociety/Automata since we're using Discord instead of Slack as of 2019
A multi-purpose Slack bot for the MUN Computer Science Society Slack.
git clone https://github.com/MUNComputerScienceSociety/GarfieldBot.git
Since there are integration limits within each Slack workspace, it is recommended that you create your own for local development. Within this workspace, find and copy your "Bot User OAuth Access Token".
- Type
cp .env.dist .env
to create a new private file within the repository that you will use to store your OAuth token. - Use your favorite text editor (vim) to edit
.env
. You will need to paste your OAuth Access Token in here.
- Ensure Python 3.6 or newer is installed
- Add your OAuth Access Token as described above
- Install dependencies
- macOS and Linux:
python3 -m pip install -r requirements.txt
- Windows:
python -m pip install -r requirements.txt
- macOS and Linux:
- Run Start.py
Note: Depending on your setup, you may need to run these commands as root. These steps may be similar on macOS, but are untested. Let us know if you have tried it!
- Build the container with
docker build -t garfieldbot .
Don't forget the trailing period! - Run the container with
docker run garfieldbot
Have you created a plugin that you think we'll like? Fixed a bug? Added more documentation? Send us a pull request with your changes, and we'll check it out!