Skip to content
Switch branches/tags
Go to file

Latest commit


Git stats


Failed to load latest commit information.

Errbot - Discord

This is a Discord back-end for Errbot. It allows you to use Errbot from Discord to execute commands.

Updates [ ~ Dependencies scanned by ~ ]


An Errbot instance is required to install the discord back-end. See the Errbot installation documentation for details.


  • Python 3.6 or later
  • 1.2.3 or later

Virtual Environment

The steps below are to install the discord back-end in Errbot's virtual environment. In the examples below, the virtual environment was set to /opt/errbot/virtualenv and Errbot initialised in /opt/errbot. The "extra" back-end directory is set to /opt/errbot/backend.

  1. If not already set, set Errbot's BOT_EXTRA_BACKEND_DIR variable in /opt/errbot/ to the directory you will use to place additional back-ends.
  1. Set the back-end to use Discord.
BACKEND = 'Discord'
  1. Clone repository to your Errbot back-end directory.
cd /opt/errbot/backend
git clone
  1. Install back-end dependencies (Errbot's virtual environment must be activated to install the dependencies into it).
source /opt/errbot/virtualenv/bin/activate
cd err-backend-discord
pip install -r requirements.txt
  1. Set the bot's token (see Create a discord application for information on how to get the token).
 'token' : 'changeme'
  1. Enable SERVER MEMBERS INTENT for your bot on the Discord website. See here for the required steps.

Create a discord application

For further information about getting a bot user into a server please see: You can use this tool to generate a proper invitation link. The reactiflux community have written a quick start guide to creating a discord bot and getting a token


  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D