Skip to content

mootfrost/CoSinger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoSinger

Music bot for discord written in python.

Commands list

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.

Installation

Install python3:
Windows: https://www.python.org/downloads/.
Linux: install it using your favorite package manager in your favorite OS.

Install dependencies:

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.

config.py

token = "<token>"

Run

python3 main.py

About

Music bot for discord

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published