.showModal is not a function
I use modals a bit and every once in the while I get the error
TypeError: interaction.showModal is not a function
now the modal still works like normal and there is no visual sign of an error etc. Is there any reason to why this could happen?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!Does it need to be from a buttoninteraction etc?
Casue its still fully functional and everything but every once in a while that error gets logged
Full error
Code
Was just typing it out
its a simple button and it does work like 90% of the time the other 10% it also works but throws that error
Could do that yea tho its not a high priority
Just wanted to see if someone else had a similar issue
Hmm ill see if changing one of em fixes it
Cant seem to reproduce it in dev