feat(VoiceRegion): add missing fields (#1571)

Add the following fields to VoiceRegion struct: Optimal, Deprecated, Custom
This commit is contained in:
Cyb3r Jak3 2024-10-06 12:50:34 -04:00 committed by GitHub
parent 02e7ea559b
commit 0a25bf41b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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