Discord Music Bot
Project detail
Installed on Ubuntu 20.04 server provided by me.
Discord Music Bot where I have a directory named /var/bot/Songs of the music files. The music directory will have directory of the song names, when I command !play {song_name} itll play the .MP3 in the directory of the song name. Needs to have a queue function to queue multiple MP3s and skip function to skip the current song playing. Needs to be able to display what song is currently playing in the text channel.
and
Radio function. Where I command !radio and itll play a shuffled loop of .MP3s from a directory named /var/bot/Radio.
When I type !radio play itll stop all tasks and start playing and !radio stop and itll stop then we can use !play {song_name} if we want to listen to a certain song.
!lyrics command to read a text file with a link to a lyrics website, copy the lyrics from the site and display the lyrics in a text channel.
All bot commands are done in the #bot-commands channel. If !lyrics is commanded, it will display the lyrics in the #lyrics channel
When a new song starts, have the bot display Now Playing: {Song Name} in the #general text channel. Can the bot also pull metadata from the current playing MP3 that will take the album art from the MP3 and include it in the now playing message?
Example:
/var/bot/Radio/{Song Name1}/song.mp3
/var/bot/Radio/{Song Name2}/song.mp3
/var/bot/Radio/{Song Name3}/song.mp3
/var/bot/Radio/{Song Name4}/song.mp3
/var/bot/Radio/{Song Name5}/song.mp3
!radio plays all Song Name# folders shuffled and looped.
Example:
/var/bot/Songs/{Song Name1}/song.mp3
/var/bot/Songs/{Song Name2}/song.mp3
/var/bot/Songs/{Song Name3}/song.mp3
/var/bot/Songs/{Song Name4}/song.mp3
/var/bot/Songs/{Song Name5}/song.mp3
!play Song Name3 plays the mp3 located in /var/bot/Songs/Song Name3/
The reason the radio and songs are in folders is that I want to be able to use !lyrics in there so there will also be a lyrics.txt in each folder I want the bot to display from the current playing song.