Skip to content

forgewarden/cantina_band

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cantina Band

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

Using the bot

go run main.go -token <token> -music-dir <dir>

Commands

!play <song>

Plays the song in the current voice channel.

The song that is chosen will be whichever file name best matches the requested song name.

!stop

Stops the current song.

TODO

  • Implement a song queue
  • The bot should handle the file conversion
  • Add docker file

About

Cantina Band is a Discord bot that can stream music from a local library to your servers voice channels.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages