Add CommandType field to ApplicationCommandInteractionData (#1362)
* Add the CommandType field to ApplicationCommandInteractionData * Remove unnecessary comment * Change order of the fields --------- Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com>
This commit is contained in:
parent
6958472163
commit
7ec67b07d2
1 changed files with 4 additions and 3 deletions
|
@ -316,6 +316,7 @@ type InteractionData interface {
|
||||||
type ApplicationCommandInteractionData struct {
|
type ApplicationCommandInteractionData struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
|
CommandType ApplicationCommandType `json:"type"`
|
||||||
Resolved *ApplicationCommandInteractionDataResolved `json:"resolved"`
|
Resolved *ApplicationCommandInteractionDataResolved `json:"resolved"`
|
||||||
|
|
||||||
// Slash command options
|
// Slash command options
|
||||||
|
|
Loading…
Reference in a new issue