Cantina Band is a Discord bot that can stream music from a local library to your servers voice channels.
Music is pulled from a provided local directory. Songs should be in .dca format.
You can convert .mp3 and .wav files to .dca using ffmpeg and bwmarrin/dca.
Example:
ffmpeg -i test.mp3 -f s16le -ar 48000 -ac 2 pipe:1 | dca > test.dca
go run main.go -token <token> -music-dir <dir>
Plays the song in the current voice channel.
The song that is chosen will be whichever file name best matches the requested song name.
Stops the current song.
- Implement a song queue
- The bot should handle the file conversion
- Add docker file