channel.isTextBased is not a function?
hey! i'm trying to make a channel every time the user clicks a button. the code used to work but isn't anymore and i'm not sure why, it says channel.isTextBased is not a function
6 Replies
Use
v14.11.0
or newer of discord.js: npm i discord.js@latest
(more: https://discord.com/channels/222078108977594368/1091094485754187907/1091094485754187907 )
- 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!<#1091094485754187907>
discord.js is 14.13.0 on my computer (but not sure how to check the external site), node is v18.17.1 on the external site
oh wait
o oops I didn't even notice this message came in before the boilerplate forum post response
i'm not sure how to update discord.js on the external site but thank you!!
npm list discord.js