mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-05-06 14:04:13 +00:00
discord: Add Type to CommandInteractionOption (#312)
This commit is contained in:
parent
c5f8fff98f
commit
6dc189519c
|
@ -315,6 +315,7 @@ func (*CommandInteraction) data() {}
|
|||
|
||||
// CommandInteractionOption is an option for a Command interaction response.
|
||||
type CommandInteractionOption struct {
|
||||
Type CommandOptionType `json:"type"`
|
||||
Name string `json:"name"`
|
||||
Value json.Raw `json:"value"`
|
||||
Options CommandInteractionOptions `json:"options"`
|
||||
|
|
Loading…
Reference in a new issue