From 13dc779029acbea295e208cc0c058f0e6ec0e9aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=86MB=C3=98?= <69138346+TAEMBO@users.noreply.github.com> Date: Mon, 2 Sep 2024 00:46:05 -0700 Subject: [PATCH] fix: message reaction crash (#10469) --- packages/discord.js/src/structures/MessageReaction.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/discord.js/src/structures/MessageReaction.js b/packages/discord.js/src/structures/MessageReaction.js index b6230bacb2ec..45103b553c01 100644 --- a/packages/discord.js/src/structures/MessageReaction.js +++ b/packages/discord.js/src/structures/MessageReaction.js @@ -83,6 +83,8 @@ class MessageReaction { burst: data.count_details.burst, normal: data.count_details.normal, }; + } else { + this.countDetails ??= { burst: 0, normal: 0 }; } }