discordjs / discord.js

A powerful JavaScript library for interacting with the Discord API
https://discord.js.org
Apache License 2.0
25.44k stars 3.97k forks source link

fix: message reaction crash #10469

Closed TAEMBO closed 2 months ago

TAEMBO commented 2 months ago

Please describe the changes this PR makes and why it should be merged: This PR fixes an edge case where MessageReaction#countDetails was not initialized before a new reaction has been added. Fixes https://github.com/discordjs/discord.js/issues/10468

Status and versioning classification:

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **discord-js** | ⬜️ Ignored ([Inspect](https://vercel.com/discordjs/discord-js/9ZqaXDkSEGeuCAFG5a98vpZdpQnZ)) | [Visit Preview](https://discord-js-git-fork-taembo-fix-message-reaction-crash-discordjs.vercel.app) | | Sep 2, 2024 4:47am | | **discord-js-guide** | ⬜️ Ignored ([Inspect](https://vercel.com/discordjs/discord-js-guide/CbbPt2dtaVeRSPCojBrnTMMVaJf1)) | [Visit Preview](https://discord-js-guide-git-fork-taembo-fix-message-r-67d7f7-discordjs.vercel.app) | | Sep 2, 2024 4:47am |