Skip to content

A simple Discord music bot that uses yt_dlp to play songs from YouTube.

License

Notifications You must be signed in to change notification settings

TheCuteOwl/discord-music-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

i don't know if i will update it, because it still work

🌐 〢 Content

🤖・Features

Play music: You can use the play command to play a song from YouTube.

Disconnect command: You can use the disconnect command to disconnect the bot from the voice channel.

Skip command: You can use the skip command to skip the current song.

Delete file after song end: The bot will automatically delete the file of the played song after it ends.

👁️・Features Explanation

Play music: The play command takes a YouTube URL as an argument and plays the song in the voice channel that the bot is connected to.

Disconnect command: The disconnect command disconnects the bot from the voice channel.

Skip command: The skip command skips the current song.

Delete file after song end: The bot will automatically delete the file of the played song after it ends. This is to prevent the file from taking up too much space on the bot's hard drive.

🔎・How to install

The discord must have those intent enabled

Presence, Server Members, Message Content

Install Python 3.11

You must have FFmpeg downloaded

Clone this repository.

Install the dependencies:

pip install -r requirements.txt

Put the bot token into the code

Run the bot:

python bot.py

📝・Changelog

1.0.0: Initial release. 1.0.1: Added the ability to skip songs. 1.0.2: Added the ability to delete files after songs end.

💼・Terms

This script is for educational purposes only. Use it at your own risk. The developer is not responsible for any damage caused by the misuse of this script.

About

A simple Discord music bot that uses yt_dlp to play songs from YouTube.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages