Skip to content

Commit

Permalink
Use more precise emoji type in reaction events
Browse files Browse the repository at this point in the history
  • Loading branch information
abitofevrything committed Sep 10, 2023
1 parent 76209f8 commit 6b4275e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/models/gateway/events/message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class MessageReactionAddEvent extends DispatchEvent {
final Member? member;

/// The emoji that was added.
final PartialEmoji emoji;
final Emoji emoji;

/// {@macro message_reaction_add_event}
MessageReactionAddEvent({
Expand Down Expand Up @@ -172,7 +172,7 @@ class MessageReactionRemoveEvent extends DispatchEvent {
final Snowflake? guildId;

/// The emoji that was removed.
final PartialEmoji emoji;
final Emoji emoji;

/// {@macro message_reaction_remove_event}
MessageReactionRemoveEvent({
Expand Down

0 comments on commit 6b4275e

Please sign in to comment.