mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-03 08:35:53 +00:00
Fix Guild.audit_logs order being reversed without oldest_first and after
This commit is contained in:
committed by
GitHub
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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user