TypeError Cannot read properties of null (reading 'interaction')
I can't figure out where the error is coming from
djs:
InteractionResponse(this, this.message.interaction?.id)
For some reason message is null
2 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.[email protected] F:\WETBOT_discordjs_v14
└── [email protected]
node -v
v16.10.0
Oh yes. I just destroying modal after receiving a response. But how can I destroy without this error
I dont need reply. Then reply and immediately delete message?