@@ -187,15 +187,16 @@ func (EventGuildAuditLogEntryCreate) messageData() {}
187
187
func (EventGuildAuditLogEntryCreate ) eventData () {}
188
188
189
189
type EventMessageReactionAdd struct {
190
- UserID snowflake.ID `json:"user_id"`
191
- ChannelID snowflake.ID `json:"channel_id"`
192
- MessageID snowflake.ID `json:"message_id"`
193
- GuildID * snowflake.ID `json:"guild_id"`
194
- Member * discord.Member `json:"member"`
195
- Emoji discord.PartialEmoji `json:"emoji"`
196
- MessageAuthorID * snowflake.ID `json:"message_author_id"`
197
- BurstColors []string `json:"burst_colors"`
198
- Burst bool `json:"burst"`
190
+ UserID snowflake.ID `json:"user_id"`
191
+ ChannelID snowflake.ID `json:"channel_id"`
192
+ MessageID snowflake.ID `json:"message_id"`
193
+ GuildID * snowflake.ID `json:"guild_id"`
194
+ Member * discord.Member `json:"member"`
195
+ Emoji discord.PartialEmoji `json:"emoji"`
196
+ MessageAuthorID * snowflake.ID `json:"message_author_id"`
197
+ BurstColors []string `json:"burst_colors"`
198
+ Burst bool `json:"burst"`
199
+ Type discord.MessageReactionType `json:"type"`
199
200
}
200
201
201
202
func (e * EventMessageReactionAdd ) UnmarshalJSON (data []byte ) error {
@@ -215,13 +216,14 @@ func (EventMessageReactionAdd) messageData() {}
215
216
func (EventMessageReactionAdd ) eventData () {}
216
217
217
218
type EventMessageReactionRemove struct {
218
- UserID snowflake.ID `json:"user_id"`
219
- ChannelID snowflake.ID `json:"channel_id"`
220
- MessageID snowflake.ID `json:"message_id"`
221
- GuildID * snowflake.ID `json:"guild_id"`
222
- Emoji discord.PartialEmoji `json:"emoji"`
223
- BurstColors []string `json:"burst_colors"`
224
- Burst bool `json:"burst"`
219
+ UserID snowflake.ID `json:"user_id"`
220
+ ChannelID snowflake.ID `json:"channel_id"`
221
+ MessageID snowflake.ID `json:"message_id"`
222
+ GuildID * snowflake.ID `json:"guild_id"`
223
+ Emoji discord.PartialEmoji `json:"emoji"`
224
+ BurstColors []string `json:"burst_colors"`
225
+ Burst bool `json:"burst"`
226
+ Type discord.MessageReactionType `json:"type"`
225
227
}
226
228
227
229
func (EventMessageReactionRemove ) messageData () {}
0 commit comments