Collector not updating message embed
No errors in console or anything,
createEmbedForList returns an object containing
2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPdjs 14.15.3 and node 20.10.0
if anyone needs more code to test then just let me know
i assume I'm doing something wrong in my switch statement but not sure what
the message doesnt update as (edited) either
oh and
intr
is the interaction (CommandInteraction
)
and "collection moment" does actually get logged to the console
and also the page
value does update so it's not just creating the page 1 embed every time
and yet the end
event also fires and disables the buttons
oh my god I think it could be because I'm not awaiting the createEmbedForList
yep that was it