I started to write an discord bot with discord.js 11.5.
I don't want to use an event like client.on()
because it takes days until everybody added his reactions and it's in a small channel which is always cleaned up with a few messages only.
I'm fetching older messages via fetchMessages()
extract a specific message and want read the existing reactions from it. But I'm stuck with reading the reactions from the message.
Something like
message.reactions.array()
returns an empty array.
The docs mentions that it's not possible to listen to old message reactions, only in 12.x it is. but I don't use a listener, so I guess this limitation is not relevant in this case.
Is there any way to access reactions on old messages?
According to Discord docs it should be possible: https://discordapp.com/developers/docs/resources/channel#get-reactions