mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-30 18:53:30 +00:00
discord: Add Options field to AutocompleteOption
This is used for subcommands.
This commit is contained in:
parent
331ec59dec
commit
c98e2f8730
|
@ -165,6 +165,7 @@ type AutocompleteOption struct {
|
|||
Name string `json:"name"`
|
||||
Value string `json:"value"`
|
||||
Focused bool `json:"focused"`
|
||||
Options []AutocompleteOption `json:"options"`
|
||||
}
|
||||
|
||||
// Type implements ComponentInteraction.
|
||||
|
|
Loading…
Reference in a new issue