Permission sync
- Client do permission change on guild category
- Server responds with
CHANNEL_UPDATEfor modified category and each channel which permissions is synced with this category
Q: What does it mean “synced with”?
A: Look:
- Get a list of guild channels;
- Exclude all channels not under this categoty;
- Channel contains exactly the same set of permission overwrites category had before modification? Permissions are synced.
Q: But what if user sets category permissions equal to one of category’s not-synced channel?
A: This channel becomes synced. (As of Jul 2025)