Skip to content

Commit

Permalink
fix: auditlogs after param for fetch is ignored (#2295)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Dec 19, 2023
1 parent 87d3d8a commit 40d2b00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -201,6 +201,8 @@ These changes are available on the `master` branch, but have not yet been releas
([#2243](https://github.com/Pycord-Development/pycord/pull/2243))
- Fixed `Intents.all()` returning the wrong value.
([#2257](https://github.com/Pycord-Development/pycord/issues/2257))
- Fixed `AuditLogIterator` not respecting the `after` parameter.
([#2295](https://github.com/Pycord-Development/pycord/issues/2295))

## [2.4.1] - 2023-03-20

Expand Down
2 changes: 1 addition & 1 deletion discord/iterators.py
Expand Up @@ -430,7 +430,7 @@ def __init__(
self.before = before
self.user_id = user_id
self.action_type = action_type
self.after = OLDEST_OBJECT
self.after = after or OLDEST_OBJECT
self._users = {}
self._state = guild._state

Expand Down

0 comments on commit 40d2b00

Please sign in to comment.