mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-10-31 20:14:21 +00:00
discord: Use the right type for AutocompleteOption.Options
This commit is contained in:
parent
70a7a3e44f
commit
b6221c6426
|
@ -208,7 +208,7 @@ type AutocompleteOption struct {
|
|||
Name string `json:"name"`
|
||||
Value json.Raw `json:"value,omitempty"`
|
||||
Focused bool `json:"focused,omitempty"`
|
||||
Options []AutocompleteOption `json:"options,omitempty"`
|
||||
Options AutocompleteOptions `json:"options,omitempty"`
|
||||
}
|
||||
|
||||
// String will return the value if the option's value is a valid string.
|
||||
|
|
Loading…
Reference in a new issue