Discord refusing to add user to channel when channel is moved to another category
Im honestly not even sure what to do anymore iv tried a lot of different methods and none seem to work. In short i have a escelate command for my ticket system, It mvoes the ticket, sends the messages, however it removes the user from the channel whenever moved to another category. I tried to get around this by re adding the user and well, it does not work. Any help is greatly appreciated
7 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!node -v = v18.16.1
14.13.0
your issue likely is because its syncing its perms with the category
the second argument takes a SetParentOptions
I honestly didnt see this before, lack of sleep does that haha, thanks
no worries
also you never resolve any promises in the above code so that would likely also be an issue