1
0
Fork 0
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:
diamondburned 2022-10-13 22:30:27 -07:00
parent 70a7a3e44f
commit b6221c6426
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

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