Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
feat(Partials): add DMChannel/MessageReaction#fetch() and PartialTypes.REACTION #3474
#3261 but without the bug
As reimu mentioned, Action#getReaction() looks for existing reactions on a message which doesn't work with newly added reactions. dd4c7c3 fixes that by calling ReactionStore#add() which was how it was done before.
Due to the change above and the fact that the _patch method was being called for existing reactions, it resulted in the count being set back to 0. To handle this d2744e8 will make it so that the count will only be updated through patching when it hasn't been set or when the MessageReaction is partial.
Semantic versioning classification: