-
First you must have a bot instance to run this script on. Follow Discord's tutorial here on how to set one up. Be sure to invite it to a server to use it.
-
Copy entrypoint.py.example to entrypoint.py and put in your bot token.
-
You can simply run the Dockerfile and your bot will start up, with voice support
-
If you don't want to use docker, you should probably create a virtualenv first with
python -m venv simplebot-venv
, and then activate it withsource simplebot-venv/bin/activate
. Then runpip3 install -r requirements.txt
in the repository's root directory to get the necessary libraries.- Note that python-Levenshtein requires your system to have a C++ compiler (Visual Studio C++ compiler for Windows or g++ for Linux).
- Note that for voice support on linux you will need libffi, libnacl, and python3-dev
-
In the discord console, click on OAuth2 then URL Generator, and under scope select "Bot" and if you want to add slash commands, "applications.commands", and whatever permissions you believe your bot will need.