Weird PermissionOverwrite triggers ChannelUpdate for every guildChannel
Hello. I've setup a listener to the event ChannelUpdate that should handle permissionOverwrites modifications. But I some weird trigger that concerns every channels.
I've node v16.14.2,
13.9.0
Here's the code :


2 Replies
• 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.I am wondering why I have all theses logs with no apparent reason. Early, somebody told me that there should be an AuditLog about it, but when fetching I'm seeing that it refers to an older modification that I did precedently.
To be sure I'm fetching correctly, here is the AuditLog fetching part
But if there is a difference in values, why isn't there any AuditLog ?
Oh, this way
So this massive trigger could be a channel reorganisation, that update every rawPosition ?
Firing the channelUpdate listener for every channels
Okay thanks 🙂