Skip to content

jab416171/simple-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

  1. 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.

  2. Copy entrypoint.py.example to entrypoint.py and put in your bot token.

  3. You can simply run the Dockerfile and your bot will start up, with voice support

  4. 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 with source simplebot-venv/bin/activate. Then run pip3 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
  5. 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published