mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Fix Guild.audit_logs order being reversed without oldest_first and after
This commit is contained in:
parent
bc70ec5cfd
commit
6dd8845e4f
@ -3282,7 +3282,7 @@ class Guild(Hashable):
|
|||||||
after = Object(id=utils.time_snowflake(after, high=True))
|
after = Object(id=utils.time_snowflake(after, high=True))
|
||||||
|
|
||||||
if oldest_first is MISSING:
|
if oldest_first is MISSING:
|
||||||
reverse = after is not None
|
reverse = after is not MISSING
|
||||||
else:
|
else:
|
||||||
reverse = oldest_first
|
reverse = oldest_first
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user