1
0
Fork 0
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:
Tyler Stuyfzand 2022-02-14 01:40:26 -05:00 committed by GitHub
parent c5f8fff98f
commit 6dc189519c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"`