inherit roles from a channel

this is my current code, the role is created but the permissions not inherited
5 Replies
d.js toolkit
d.js toolkit14mo ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Syjalo
Syjalo14mo ago
You can use channel.clone() or provide the overwrites when creating
GMS
GMS14mo ago
I cant read the overwrites?
Syjalo
Syjalo14mo ago
Who said? Your method makes request for each overwrite. You can be (and probably are) rate limited
GMS
GMS14mo ago
Ohh, thank you