Channel's Permissions Update
Hi, how can i check if channel's permissions has been changed ?
Here is my code :
5 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 OP:method: Collection#difference()
The difference method returns a new structure containing items where the key is present in one of the original structures but not the other.
difference() can return an empty value ?
So if i have to compare each overwrite's allow and deny values because of that, why use difference() ?
So i have to do a difference method first, and compare one-by-one in the else to find wich one ?
Also i got an error : .difference is not a function
Oh ok mb