errbotio / err-backend-slackv3

Slack Events and RTM backend for Errbot
GNU General Public License v3.0
27 stars 28 forks source link
hacktoberfest python

errbot-backend-slackv3

Documentation Status

Slack Events and Real Time Messaging backend for Errbot.

Quick Start

It is recommended to install errbot into a Python virtual environment. The steps are as follows: Note: The examples assume the virtual environment is created as /opt/errbot but you can adapt this path to your needs.

  1. Create and activate the virtual environment.
python3 -m venv /opt/errbot
. /opt/errbot/bin/activate
  1. Install errbot and slackv3.

    pip install errbot[slack]
  2. Initialise errbot.

    errbot --init
  3. Edit config.py to configure the backend with the correct Slack credentials. (See the official documentation of details on how to configure the backend for RTM vs Events)

    BACKEND = 'SlackV3'
    BOT_IDENTITY = {
    'token': 'xoxb-000000000000-000000000000-xxxxxxxxxxxxxxxxxxxxxxxx',
    #'signing_secret': "xxxxxx",
    #'app_token': "xxxxx"
    }
  4. Start errbot

    errbot -c config.py

Documentation

See the slackv3 documentation for:

Support

If you need help for an errbot-backend-slackv3 problem, open an issue at github repository