Skip to content
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

Support filtering audit log entries by afterId #2620

Merged

Conversation

kaskii
Copy link
Contributor

@kaskii kaskii commented Mar 4, 2023

This enables to retrieve guild audit log entries with ID greater than a specific audit log entry ID. Utilizing this it will be possible to store last fetched audit log entry ID and use that to retrieve only newer audit logs since the last fetch.

Discord developers docs

Adds support for filtering audit log entires with GetAuditLogsAsync. Adds the ability to specify an afterId as specified on [Discord developers docs](https://discord.com/developers/docs/resources/audit-log#get-guild-audit-log).
@csmir csmir merged commit 529fe3d into discord-net:dev Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants