forked from pothtonswer/discordmuffin
comment Deprecation for VoiceReady and UDPReady
This commit is contained in:
parent
eeb2d4f62d
commit
af57bc1789
1 changed files with 7 additions and 3 deletions
10
structs.go
10
structs.go
|
@ -51,13 +51,17 @@ type Session struct {
|
||||||
// Exposed but should not be modified by User.
|
// Exposed but should not be modified by User.
|
||||||
|
|
||||||
// Whether the Data Websocket is ready
|
// Whether the Data Websocket is ready
|
||||||
DataReady bool
|
DataReady bool // NOTE: Maye be deprecated soon
|
||||||
|
|
||||||
|
// Status stores the currect status of the websocket connection
|
||||||
|
// this is being tested, may stay, may go away.
|
||||||
|
status int32
|
||||||
|
|
||||||
// Whether the Voice Websocket is ready
|
// Whether the Voice Websocket is ready
|
||||||
VoiceReady bool
|
VoiceReady bool // NOTE: Deprecated.
|
||||||
|
|
||||||
// Whether the UDP Connection is ready
|
// Whether the UDP Connection is ready
|
||||||
UDPReady bool
|
UDPReady bool // NOTE: Deprecated
|
||||||
|
|
||||||
// Stores a mapping of guild id's to VoiceConnections
|
// Stores a mapping of guild id's to VoiceConnections
|
||||||
VoiceConnections map[string]*VoiceConnection
|
VoiceConnections map[string]*VoiceConnection
|
||||||
|
|
Loading…
Reference in a new issue