Trying to edit content of specific v2 component, what's wrong?
I'm running this code on an eval:
I want to edit the text of the container at index 1, but this error shows up in the console:
What exactly am I doing wrong? If I use
m.edit({components: [comps[1]]}) to test it replaces the entire message with that container containing "Hello", I just want to be able to refresh a piece of text at a particular location2 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 OPNode version: v24.2.0
Discord.JS version: 14.19.3
oh! i didn't think about it, now that i tried it worked. Thank you!