Pycord-Development / pycord

Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python
https://docs.pycord.dev
MIT License
2.71k stars 459 forks source link

fix: further address audit log issues #2492

Closed NeloBlivion closed 1 month ago

NeloBlivion commented 1 month ago

Summary

Any fixes to audit logs should require heavy scrutiny, please test thoroughly before approving.

Makes further adjustments to audit log logic:

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

Dorukyum commented 1 month ago

Tested on the Pycord server.

NeloBlivion commented 1 month ago

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.

Dorukyum commented 1 month ago

Tested on the Pycord server again: