(guild create channel) ---> TypeError [InvalidType]: Supplied parameter is not a User nor a Role.
Full error:
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!
- ✅
Marked as resolved by OPcould it be a permission issue
i am admin in the server and it works for me, but the other users are not admins
the guild (server) is old, not sure exactly but many months
okay managed to fix this, very odd.
i added this before:
and used user.id in the permissions overwrite and it worked