Cannot read 'edit'
I cannot resolve this error, pls help me to fix it.
4 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.Oh wait I think I have an idea why it‘s response an error
you never reply so there is no message to edit
No, I just found the error, I entered an i in the end event of the collector, which should stand for the interaction, but of course it has no value, which is why it can't find a message. I fixed it now so that I assigned the message as a variable and can change the message later.