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

refactor: make GuildAuditLogsEntry.action return an AuditLogEvent #8256

Merged
merged 1 commit into from
Jul 9, 2022
Merged

refactor: make GuildAuditLogsEntry.action return an AuditLogEvent #8256

merged 1 commit into from
Jul 9, 2022

Conversation

Eejit43
Copy link
Contributor

@Eejit43 Eejit43 commented Jul 9, 2022

Please describe the changes this PR makes and why it should be merged:

Similarly to the switch from strings to numbers in v14, this PR changes GuildAuditLogsEntry.action to return an AuditLogEvent rather than the string version of the action.

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

@vercel
Copy link

vercel bot commented Jul 9, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
discord-js ⬜️ Ignored (Inspect) Jul 9, 2022 at 2:36AM (UTC)

@iCrawl iCrawl merged commit f0b68d5 into discordjs:main Jul 9, 2022
@Eejit43 Eejit43 deleted the patch-1 branch July 9, 2022 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants