dgVoice is a Go package that provides an example of adding opus audio and play file support for DiscordGo.
- You must use the current develop branch of Discordgo
- You must have ffmpeg in your path and Opus libs already installed.
This code should be considered just a proof of concept, or an example, of accomplishing this task and not a defacto standard.
Please send feedback on any performance improvements that can be made for sound quality, stability, or efficiency.
For help with this package or general Go discussion, please join the Discord Gophers chat server.
This assumes you already have a working Go environment, if not please see this page first.
go get github.com/bwmarrin/dgvoice
See example folder