diff --git a/src/gateway/client/dispatch.rs b/src/gateway/client/dispatch.rs index fba9e54b907..ae16e8d04f0 100644 --- a/src/gateway/client/dispatch.rs +++ b/src/gateway/client/dispatch.rs @@ -325,6 +325,7 @@ fn update_cache_with_event( removed_reaction: event.reaction, }, Event::ReactionRemoveAll(event) => FullEvent::ReactionRemoveAll { + guild_id: event.guild_id, channel_id: event.channel_id, removed_from_message_id: event.message_id, }, diff --git a/src/gateway/client/event_handler.rs b/src/gateway/client/event_handler.rs index b212f54f975..fa5d61a050f 100644 --- a/src/gateway/client/event_handler.rs +++ b/src/gateway/client/event_handler.rs @@ -315,8 +315,8 @@ event_handler! { /// Dispatched when all reactions of a message are detached from a message. /// - /// Provides the channel's id and the message's id. - ReactionRemoveAll { channel_id: ChannelId, removed_from_message_id: MessageId } => async fn reaction_remove_all(&self, ctx: Context); + /// Provides the channel's id, message's id, and guild's id if in a guild. + ReactionRemoveAll { guild_id: Option, channel_id: ChannelId, removed_from_message_id: MessageId } => async fn reaction_remove_all(&self, ctx: Context); /// Dispatched when all reactions of a message are detached from a message. ///