AuditLogEvent.ChannelUpdate getting logs for only 1 channel and not all channels
If I have two TextChannels called
secret
and secret2
, why does the above code only get the logs for secret
and not also secret2
? Is this suppose to happen?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!
- ✅
Marked as resolved by staffDoes your bot have the necessary permissions for
secret2
?Yes, it has Administrator permissions but I fixed it.
Instead of using
ChannelUpdate
, I used ChannelOverwriteUpdate
and it worked.
Thanks for replying though.