Fix wrong variable being returned in audit logs

This commit is contained in:
z03h 2022-05-02 01:34:01 -07:00 committed by GitHub
parent 66c48c2d0e
commit 9deac84eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3350,7 +3350,7 @@ class Guild(Hashable):
before = Object(id=int(entries[-1]['id']))
return data, entries, after, limit
return data, entries, before, limit
async def _after_strategy(retrieve, after, limit):
after_id = after.id if after else None