-
-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
audit_logs not fetching more than 100 logs #2445
Comments
Here is the fix they did on discord.py on that issue: |
|
I need both limit=None and the after param for my use case |
Do you think this will be pick up ? |
Summary
audit_logs not fetching more than 100 logs
Reproduction Steps
async for entry in guild.audit_logs(limit=None, after=discord.Object(id=0), action=discord.AuditLogAction.member_role_update):
...
Minimal Reproducible Code
Expected Results
Fetch all the audit logs in batches:
fetch 1-100, 101-202, ... etc
but in the iterator, we only see them coming one at a time
without to have to do multiple calls
Actual Results
Only fetch the 100 lastest audit logs
Intents
System Information
Checklist
Additional Context
The problem migh have been introduced by the after param being fixed:
Fixed AuditLogIterator not respecting the after parameter. (#2295)
The text was updated successfully, but these errors were encountered: