|Andrey 567a3a28c4||2 months ago|
|.drone.yml||2 months ago|
|.gitignore||2 months ago|
|Dockerfile||2 months ago|
|README.md||7 months ago|
|docker-compose.yml||2 months ago|
|main.py||2 months ago|
|requirements.txt||2 months ago|
Music bot for discord written in python.
help - Shows list of available comands.
join - Enters current voice channel.
summon - Moves bot to the current voice channel. If not yet connected, connects to it.
leave - Leaves current voice channel and clears queue.
vol <value> - Ajusts the playback volume.
now - Shows the current track.
pause - Pauses song playback.
resume - Continues playing the song.
stop - Stops playback and clears the queue.
skip - Vite to skip the song. It takes three votes to pass.
megaskip - Experemental command. Does not works yet. Skip for admins.
queue - Shows the playback queue. You can choose one of the pages, each can have up to 10 items.
shuffle - Shuffles the queue.
remove <id> - Removes a track from the queue by the entered number.
loop - Turns on repeat of the current track. !!!WARNING. IT CAN CRASH THE BOT!!! Write again to remove the loop.
play <querry> - Starts playback. All tracks in the queue will be played. The command allows you to search for tracks by name or by link.
Linux: install it using your favorite package manager in your favorite OS.
pip install discord pip install yt-dlp pip install PyNaCl
You also need to install ffmpeg:
Windows: https://ffmpeg.org/download.html#build-windows. Just copy all .exe files to project directory.
Linux: Use your favorite package manager(ex.
sudo apt install ffmpeg)
Then create new bot in https://discord.com/developers/applications and paste token to config file.
token = "<token>"