forked from pothtonswer/discordmuffin
feat: add missing fields to VoiceState struct (#1190)
This commit is contained in:
parent
414e505c56
commit
c8c153872c
1 changed files with 13 additions and 9 deletions
22
structs.go
22
structs.go
|
@ -1098,15 +1098,19 @@ func (r Roles) Swap(i, j int) {
|
||||||
|
|
||||||
// A VoiceState stores the voice states of Guilds
|
// A VoiceState stores the voice states of Guilds
|
||||||
type VoiceState struct {
|
type VoiceState struct {
|
||||||
UserID string `json:"user_id"`
|
GuildID string `json:"guild_id"`
|
||||||
SessionID string `json:"session_id"`
|
ChannelID string `json:"channel_id"`
|
||||||
ChannelID string `json:"channel_id"`
|
UserID string `json:"user_id"`
|
||||||
GuildID string `json:"guild_id"`
|
Member *Member `json:"member"`
|
||||||
Suppress bool `json:"suppress"`
|
SessionID string `json:"session_id"`
|
||||||
SelfMute bool `json:"self_mute"`
|
Deaf bool `json:"deaf"`
|
||||||
SelfDeaf bool `json:"self_deaf"`
|
Mute bool `json:"mute"`
|
||||||
Mute bool `json:"mute"`
|
SelfDeaf bool `json:"self_deaf"`
|
||||||
Deaf bool `json:"deaf"`
|
SelfMute bool `json:"self_mute"`
|
||||||
|
SelfStream bool `json:"self_stream"`
|
||||||
|
SelfVideo bool `json:"self_video"`
|
||||||
|
Suppress bool `json:"suppress"`
|
||||||
|
RequestToSpeakTimestamp *time.Time `json:"request_to_speak_timestamp"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// A Presence stores the online, offline, or idle and game status of Guild members.
|
// A Presence stores the online, offline, or idle and game status of Guild members.
|
||||||
|
|
Loading…
Reference in a new issue