Skip to content

Commit

Permalink
fix: message reaction crash (#10469)
Browse files Browse the repository at this point in the history
  • Loading branch information
TAEMBO authored Sep 2, 2024
1 parent fc0b6f7 commit 13dc779
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/discord.js/src/structures/MessageReaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ class MessageReaction {
burst: data.count_details.burst,
normal: data.count_details.normal,
};
} else {
this.countDetails ??= { burst: 0, normal: 0 };
}
}

Expand Down

0 comments on commit 13dc779

Please sign in to comment.