dgvoice
dgvoice copied to clipboard
Discordgo Voice - A sub project to work on voice implementation for Discordgo
It would fix #17
- What I wanted: - Single bot (1 process) - Guild 0's voice channel ← play file 0 - Guild 1's voice channel ← play file 1 - Implementation: ```go...
Pretty straight forward. When I do: ```go vc, err = s.ChannelVoiceJoin(e.GuildID, e.ChannelID, false, false) ``` it sometimes crashes, seemingly randomly. Sometimes it happens a several times a day, sometimes not...
After the audio is done playing, Nothing happens to the goroutine that's listening on the "stop" channel
I could play audio by using dgvoice.PlayAudioFile() but it is too big volume. How do I down the volume played by bot?
Does this work with multiple voice channels? I'm unsure when I read the code. (Well, apart from that KillPlayer obviously doesn't work with multiple)
Since the value is nil, it crashes when nothing is playing. I'd suggest fixing this, as it would be more convenient.
When you `return` at https://github.com/bwmarrin/dgvoice/blob/master/dgvoice.go#L116, which means https://github.com/bwmarrin/dgvoice/blob/master/dgvoice.go#L195 waits forever, and never returns. I'd suggest closing the channel or something
Is it possible to pause the process?