create channel overrides adds to interaction.channel instead
When creating a channel with permissions overrides, it seems to add the overrides to the channel from where interaction
Here is the code I used, but the perm overrides are added to the channel from where the interaction is made in...
3 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!It is the only place where I use permiisionsOverwrites in the button callback!
I will get you the full code...
Here you go. Here is the full code that is executed when the button is clicked.
of course you cannot use this directly since it uses a lot of util functions and such, but yeah...