forked from pothtonswer/discordmuffin
Allow marshaling of data field in interactions
This commit is contained in:
parent
fccf6db03e
commit
7c455ffc70
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ func (t InteractionType) String() string {
|
||||||
type Interaction struct {
|
type Interaction struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Type InteractionType `json:"type"`
|
Type InteractionType `json:"type"`
|
||||||
Data InteractionData `json:"-"`
|
Data InteractionData `json:"data"`
|
||||||
GuildID string `json:"guild_id"`
|
GuildID string `json:"guild_id"`
|
||||||
ChannelID string `json:"channel_id"`
|
ChannelID string `json:"channel_id"`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue