TypeError at _transformAPIMessageInteractionMetadata
I'm having a strange error and can't seem to find anyone who's had this same problem.
6 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 OPThis is a function I have for handling a particular modal submission. It takes a text input in the form of a name, checks if it matches - one of - the correct answer(s), and should do different things depending on whether the person got the answer right. This function used to work verbatim before the 14.16 update (more accurately, the last time it was used was before the update and it worked as intended then).
It now has started throwing this error and ending the terminal process. It breaks specifically after this line:
I don't know how to approach this error because none of the listed files are ones I made and know how to deal with.
Sorry for using multiple messages, character limit
What version of the library are you using
okay, I feel real silly now, I updated discord.js and it worked. I swear I tried that
sorry for the pointless post lol