Skip to content

Commit

Permalink
Adds flags to the InteractionApplicationCommandCallbackDataStruct
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailswift committed Sep 22, 2021
1 parent a2ba844 commit d9fe3eb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions interactions/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ type InteractionResponse struct {
}

type InteractionApplicationCommandCallbackData struct {
TTS *bool `json:"tts,omitempty"`
Content string `json:"content"`
Embeds json.Unmarshaler `json:"embeds,omitempty"`
AllowedMentions json.Unmarshaler `json:"allowed_mentions,omitempty"`
TTS *bool `json:"tts,omitempty"`
Content string `json:"content"`
Embeds json.Unmarshaler `json:"embeds,omitempty"`
AllowedMentions json.Unmarshaler `json:"allowed_mentions,omitempty"`
Flags *InteractionResponseFlags `json:"flags,omitempty"`
}

0 comments on commit d9fe3eb

Please sign in to comment.