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

filter out audit log entries in moderation log earlier #465

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

danthe1st
Copy link
Member

The target ID of the audit log is not always a user ID leading to exceptions when used with retrieveUserById in DiscordModerationLogListener.

This PR filters out unneeded audit log events in the implicit moderation log introduced in #457 before calling retrieveUserById.

@danthe1st danthe1st requested a review from a team as a code owner December 31, 2023 10:38
@MoonTM-GIT MoonTM-GIT merged commit 075f12e into Java-Discord:main Jan 26, 2024
1 check passed
@danthe1st danthe1st deleted the fix-modlog-exception branch January 26, 2024 20:46
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.

3 participants