Skip to content

My personal discord music bot (supports YouTube)

Notifications You must be signed in to change notification settings

cubicbyte/musicbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installing

Note It is a good idea to use a virtual environment but here I will show an example without it for simplicity

First, we need to configure the bot via environment variables. We will do this using the file .env

  1. Rename file .env.example into .env
  2. Fill out the file .env

Then, we need to install dependencies

pip install -r requirements.txt

Now everything is ready and we can launch the bot!

python3 main.py

Warning If you see this error when trying to play something:

ClientException: static_ffmpeg was not found.

Then you need to add folder "[python_dir]\Scripts" into the PATH, or just install ffmpeg manually and change FFMPEG_OPTIONS "executable" to "ffmpeg" in the settings.py file