Skip to content

Commit e256f96

Browse files
authored
Fix documentation on ReactionRemoveEmoji event (#3436)
The documentation for the `ReactionRemoveEmoji` event was identical to that of `ReactionRemoveAll`. This commit tweaks it to match its function more closely.
1 parent e801f3a commit e256f96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gateway/client/event_handler.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,9 @@ full_event! {
253253
/// Provides the channel's id, message's id, and guild's id if in a guild.
254254
ReactionRemoveAll { guild_id: Option<GuildId>, channel_id: GenericChannelId, removed_from_message_id: MessageId };
255255

256-
/// Dispatched when all reactions of a message are detached from a message.
256+
/// Dispatched when all reactions of a message for a given emoji are explicitly detached from a message.
257257
///
258-
/// Provides the channel's id and the message's id.
258+
/// Provides the emoji's data, channel's id, message's id and guild's id if in a guild.
259259
ReactionRemoveEmoji { removed_reactions: Reaction };
260260

261261
/// Dispatched when a user's presence is updated (e.g off -> on).

0 commit comments

Comments
 (0)