Overview • Sofwares • Installation
PyBoss is a Discord bot that facilitates distance learning on Discord. It allows you to manage the agenda, the planning by providing simple commands for anyone to use.
It also provides other features based on a database like a quiz, and can play music in a voice channel.
Once configured, it can automatically manage roles. The users are invited to choose their categories with interactive reaction system.
Python
It's required to have python 3.8 or more installed on your system.
Download Python
Docker
You can also use Docker to deploy the environment in one command.
Get started with Docker
First set variables in .env file:
DISCORD_TOKEN = <discord_bot_token>
# Can be development (More logs)
ENVIRONMENT = production
# Optional, a SQLite database will be created otherwise.
DATABASE_URL = mysql+mysqlconnector://user:password@host:port/database
# For YouTube API (optional).
API_DEVELOPER_KEY = <youtube_api_developer_key>
Install pipenv
dependencies:
python3 -m pip install pipenv
Now, you can create an empty .venv
directory and running pipenv
It will install packages in the virtual environment (recommended).
pipenv install
Run the script pyboss/__main__.py
or run python3 -m pyboss
docker-compose up --build