Closed NeloBlivion closed 1 month ago
Tested on the Pycord server.
The logic was further adjusted:
This change has no practical difference compared to the initial commit, but it's easier to wrap your head around.
Tested on the Pycord server again:
Summary
Any fixes to audit logs should require heavy scrutiny, please test thoroughly before approving.
Makes further adjustments to audit log logic:
after
reverses the sort to oldest first IF AND ONLY IFbefore
is not passed. In this instance, it should redefineafter
as the last item instead of the first. Discord's language on this in their docs is easy to misunderstand.0
as a valid snowflake (as officially recommended)_get_retrieve
changes as the new method was not reliable, resulting in extra requests.While i have tested this PR, it still needs further testing for guilds with extensive audit logs and thus higher limits above 100.
Information
Checklist
type: ignore
comments were used, a comment is also left explaining why.