Skip to content

Commit

Permalink
feat(VoiceRegion): add missing fields (#1571)
Browse files Browse the repository at this point in the history
Add the following fields to VoiceRegion struct: Optimal, Deprecated, Custom
  • Loading branch information
Cyb3r-Jak3 authored Oct 6, 2024
1 parent 02e7ea5 commit 0a25bf4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a25bf4

Please sign in to comment.