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(auditlog): use correct values for AuditLogOptionsType #1413

Merged
merged 1 commit into from Jul 29, 2023

Conversation

Earlopain
Copy link
Contributor

Perhaps they had this value previously but that is not the case right now.

Per the docs at https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info

type | Type of overwritten entity - role ("0") or member ("1")

role_name makes that even more clearer:

role_name | Name of the role if type is "0" (not present if type is "1")

@FedorLap2006 FedorLap2006 merged commit 393091b into bwmarrin:master Jul 29, 2023
8 checks passed
@FedorLap2006 FedorLap2006 changed the title fix(auditlog): Use correct values for AuditLogOptionsType fix(auditlog): use correct values for AuditLogOptionsType Jul 29, 2023
@Earlopain Earlopain deleted the fix-auditlog-options-type branch July 29, 2023 06:07
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.

None yet

2 participants