Skip to content

Gaoyagi/Doot-Doot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doot-Doot bot

About

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)

Direct Dependencies:

  • github.com/bwmarrin/discordgo
  • github.com/bwmarrin/dgvoice
  • github.com/spf13/viper

Prerequisite programs:

  • Golang
  • FFMPEG
  • GCC

How to use:

  • 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

Future plans/current problems:

  • 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

Author

George Aoyagi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages