discord-reactions-rebuildevents v2.0.1
DEPRECATED - discord-reactions-rebuildevents
Simple Discord.js Module that will regenerate a reaction event if the reacted message isn't in the cache of the bot.
This module is now deprecated, more detail on the topic at https://gist.github.com/Danktuary/27b3cef7ef6c42e2d3f5aff4779db8ba According to your use-case, you might want to look at the raw event directly instead of regenerating them.
Typical use-case would be when the bot need to react on reaction on a message that was posted before the message the bot was started.
As uncached message won't trigger an event in DiscorJS. This module rely on the RAW event to rebuild a new one that will be handled properly by DiscordJS.
This module will be unpublished in the future.
Historic of developemt
This module was intially based on search results and works from other coders.
This version of code was a minor modification to a non-working version of code posted by Danktuary.
Current version is identical to his work: https://gist.github.com/Danktuary/27b3cef7ef6c42e2d3f5aff4779db8ba
Installation
This module shouldn't be installed anymore, but is kept on npmjs.org to avoid dependency issue.
###English:
###History:
2.0.1 Updating README.md with explanation on deprecation
2.0.0 Deprecated module due to caveat https://gist.github.com/Danktuary/27b3cef7ef6c42e2d3f5aff4779db8ba
1.1.0 Revised
1.0.8 Improved Descrioption in the README.md
1.0.7 Code fix
1.0 Initial Release