moving Chanels between category’s without permissions loss.

Does anyone know the proper way to move a channel from one category to another without removing the role permissions added within this channel?
5 Replies
d.js toolkit
d.js toolkit11mo ago
- 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 OP
xx_lavaboy_xx123
xx_lavaboy_xx12311mo ago
use the <GuildChannel>.setParent method with the lockPermissions option set to false
Gerben
GerbenOP11mo ago
This doens’t work for some reason with my code. Can you sent an example because i’m on my phone and can’t sent my code.
xx_lavaboy_xx123
xx_lavaboy_xx12311mo ago
there's an example in the docs
No description
Gerben
GerbenOP11mo ago
Thans you for your help. Had forgotten an ‘s’ in lockPermissions
Want results from more Discord servers?
Add your server