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

Fix #1270 Add the AuthorId to MessageDeleteAuditLogData #1271

Merged

Conversation

Chris-Johnston
Copy link
Collaborator

Fix #1270

Adds the AuthorId property to MessageDeleteAuditLogData, which is set
by the TargetId in the audit log entry data.
This property is the user id that created those messages in the first place.
I am not aware of any scenario when this value would not be supplied.

Steps I used for testing:

  1. Delete 1 or more messages from another user.
  2. Download the audit log entries of that guild, and compare the AuthorId.

Fix discord-net#1270

Adds the AuthorId property to MessageDeleteAuditLogData, which is set
by the TargetId in the audit log entry data.
This property is the user id that created those messages in the first place.
I am not aware of an instance of when this value would not be supplied.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MessageDeleteAuditLogData does not have TargetId
2 participants