Reaction List Function Not Found
KanoCodez opened this issue · 1 comments
Discord Bot Maker version (master branch only supports 2.1.X)
- >2.2.X
Describe the bug
When using the store reaction info block and attempting to use list all users it comes out with a function not found error.
To Reproduce
Steps to reproduce the behavior:
- Create a message with a reaction added to it
- Create a store reaction info block set to list
- Make it send the list of reacted users
- It errors with "rea.users.cache.array is not a function"
Expected behavior
Expected to give a list of users who reacted
Screenshots
Error messages
? C:\Users[Redacted]\Desktop\Bot\actions\store_reaction_info_MOD.js:117
? result = rea.users.cache.array(); // All users who reacted list
? ^
?
? TypeError: rea.users.cache.array is not a function
? at Object.action [as Store Reaction Info] (C:\Users[Redacted]\Desktop\Bot\actions\store_reaction_info_MOD.js:117:34)
? at Object.Actions.callNextAction (C:\Users[Redacted]\Desktop\Bot\bot.js:1511:21)
? at C:\Users[Redacted]\Desktop\Bot\actions\find_reaction_MOD.js:78:12
? at processTicksAndRejections (node:internal/process/task_queues:96:5)
?
? Node.js v17.4.0
?
Fixed, redownload mods