1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-01-05 19:57:02 +00:00

voice: Fix voicegateway.SpeakingFlag being invalid

Thanks, @topisenpai!
This commit is contained in:
diamondburned 2022-12-07 00:24:57 -08:00
parent 5811606559
commit cd1a044bc8
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -76,9 +76,10 @@ type SessionDescriptionEvent struct {
// https://discord.com/developers/docs/topics/voice-connections#speaking
type SpeakingFlag uint64
const NotSpeaking SpeakingFlag = 0
const (
NotSpeaking SpeakingFlag = 0
Microphone SpeakingFlag = 1 << iota
Microphone SpeakingFlag = 1 << iota
Soundshare
Priority
)