forked from pothtonswer/discordmuffin
feat(VoiceRegion): add missing fields (#1571)
Add the following fields to VoiceRegion struct: Optimal, Deprecated, Custom
This commit is contained in:
parent
02e7ea559b
commit
0a25bf41b9
1 changed files with 6 additions and 2 deletions
|
@ -256,9 +256,13 @@ type IntegrationAccount struct {
|
|||
}
|
||||
|
||||
// A VoiceRegion stores data for a specific voice region server.
|
||||
// https://discord.com/developers/docs/resources/voice#voice-region-object
|
||||
type VoiceRegion struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Optimal bool `json:"optimal"`
|
||||
Deprecated bool `json:"deprecated"`
|
||||
Custom bool `json:"custom"`
|
||||
}
|
||||
|
||||
// InviteTargetType indicates the type of target of an invite
|
||||
|
|
Loading…
Reference in a new issue