A Golang Discod muisc bot that join calls and streams music to everyone in the call. Inspired by the need to replace Rythm and Groovy bots after their takedown and the need to relearn GoLang (I also learned why they were taken down lol)
- github.com/bwmarrin/discordgo
- github.com/bwmarrin/dgvoice
- github.com/spf13/viper
- Golang
- FFMPEG
- GCC
-
clone this repo
-
create a .env file
-
aquire my bot token (you can't)
-
cd to Doot-Doot
-
go mod tidy
-
go build
-
./Doot-Doot
-
Commands:
- @Doot-Doot bind: binds the bot to a channel and will readd further commands from that channel
- !play .mp3: adds song to the play queue and will join the voice call if it isn't in it already
- Currently only uses predownloaded music in the music directory (September, Shelter, and Sunflower are the only songs availible fresh from cloning)
- !skip: stops the currently playing song and goes to the next song
- !stop: stops the current song and the bot leaves the voice call
- As of right now it only works with 1 server at a time, need to scale it out
- use AWS RDS DB's (probably Aurora) to organize the guild ID's using this
- switch the audio stream source from predownloaded audio files to audio live streams to prevent DMCA
George Aoyagi