OneLogicalMyth / monkey-bot

Slack bot for your community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing the Bot

Visit the bot page for your Slack organisation at: https://YourSlackName.slack.com/apps/A0F7YS25R

Take a note of the bot API token and update the monkey-bot.py file with it.

Now supports Python3!

Install the requirements: pip install -r requirements.txt

Running the Bot from Python

As a non-root user run the bot with the following command: python monkey-bot.py

Running the Bot from Docker

Ensure you mount the config file so it can be accessed from docker as shown below docker run -v /etc/monkey-bot.conf:/etc/monkey-bot.conf imagename

If using the fitbit integration you will need to generate a token using the "gather_keys_oauth.py" script found in vendor/fitbit to generate the required oauth tokens for interation with the Fitbit API.

Once you've generated the token file you will need to map it to the docker image using -v token_file:/app/vendor/fitbit/tokens.ini

About

Slack bot for your community

License:GNU General Public License v3.0


Languages

Language:Python 54.6%Language:HTML 45.3%Language:Dockerfile 0.1%