snek
snek
A fix should be out shortly
This is currently working as intended.
A fix should be out shortly. It will only apply to new audit log entries.
Channels with the same `position` should be sorted by `id`
You'll also need to take channel types into account. Here's some logic i wrote a big ago (in javascript): ```js const SortSections = { [ChannelTypes.GUILD_NEWS_THREAD]: 1, [ChannelTypes.GUILD_PUBLIC_THREAD]: 1, [ChannelTypes.GUILD_PRIVATE_THREAD]: 1,...
Oh, note that this logic assumes you are already force channels with a `parent_id` to be under the channel that `parent_id` refers to.
This could probably do with some documentation, yes. The positions in the API are not canonicalized. Channels which are never moved do not have a position at all (e.g. you...
it is true for roles though. be wary when sorting discord objects.
Let me know if there's anything I can do to help here. I'm currently working on adding interactivity to an ink app I'm working on (for example [mouse events](https://gist.github.com/devsnek/72136ba7ce0e950d8d567ca329d2305c)) and...
any word on this?