Skip to content

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
@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