Fix Guild.audit_logs order being reversed without oldest_first and after

This commit is contained in:
Lilly Rose Berner 2022-03-14 11:23:40 +01:00 committed by GitHub
parent bc70ec5cfd
commit 6dd8845e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3282,7 +3282,7 @@ class Guild(Hashable):
after = Object(id=utils.time_snowflake(after, high=True))
if oldest_first is MISSING:
reverse = after is not None
reverse = after is not MISSING
else:
reverse = oldest_first