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

[Feature] Audit Log Created gateway event support #2627

Merged
merged 57 commits into from
Apr 14, 2023

Conversation

Misha-133
Copy link
Member

@Misha-133 Misha-133 commented Mar 11, 2023

This PR adds support for audit log created event, refactors existing audit log implementation and implements missing audit log data properties.

The PR is based on #2616

Progress

  • add AuditLogCreated event
  • (57/64) socket IAuditLogEntry & IAuditLogData implementations
  • (57/64) review and refactor existing rest audit log entities and add missing ones
  • Implement audit log cache
  • remove debugging stuff

Implemented missing audit log types (19/26)

  • CreatorMonetizationRequestCreated

  • CreatorMonetizationTermsAccepted

  • ApplicationCommandPermissionUpdate

  • GuildFeatureItemCreate

  • GuildFeatureItemUpdate

Role prompts
  • RolePromptCreated
  • RolePromptDeleted
  • RolePromptUpdated
Onboarding
  • OnboardingQuestionCreated
  • OnboardingQuestionUpdated
  • OnboardingUpdated
Integrations
  • IntegrationCreated
  • IntegrationUpdated
  • IntegrationDeleted
Stages
  • StageInstanceCreated
  • StageInstanceUpdated
  • StageInstanceDeleted
Stickers
  • StickerCreated
  • StickerUpdated
  • StickerDeleted
Auto Moderation
  • AutoModerationRuleCreate
  • AutoModerationRuleUpdate
  • AutoModerationRuleDelete
  • AutoModerationBlockMessage
  • AutoModerationFlagToChannel
  • AutoModerationUserCommunicationDisabled

Related Issues

@Misha-133 Misha-133 marked this pull request as ready for review March 30, 2023 14:18
@csmir csmir self-requested a review March 30, 2023 15:05
@Misha-133
Copy link
Member Author

This PR is now based on #2616 because onboarding audit logs need onboarding entities from that PR

@csmir csmir merged commit dff6a57 into discord-net:dev Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants