mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-07 12:38:05 +00:00
voice: Fix voicegateway.SpeakingFlag being invalid
Thanks, @topisenpai!
This commit is contained in:
parent
5811606559
commit
cd1a044bc8
|
@ -76,9 +76,10 @@ type SessionDescriptionEvent struct {
|
||||||
// https://discord.com/developers/docs/topics/voice-connections#speaking
|
// https://discord.com/developers/docs/topics/voice-connections#speaking
|
||||||
type SpeakingFlag uint64
|
type SpeakingFlag uint64
|
||||||
|
|
||||||
|
const NotSpeaking SpeakingFlag = 0
|
||||||
|
|
||||||
const (
|
const (
|
||||||
NotSpeaking SpeakingFlag = 0
|
Microphone SpeakingFlag = 1 << iota
|
||||||
Microphone SpeakingFlag = 1 << iota
|
|
||||||
Soundshare
|
Soundshare
|
||||||
Priority
|
Priority
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue