Skip to content

Add missing audit log action types (212, 213) for AudiLogAction#10355

Draft
owocado wants to merge 2 commits into
Rapptz:masterfrom
owocado:bypass_slowmode_auditlog_event
Draft

Add missing audit log action types (212, 213) for AudiLogAction#10355
owocado wants to merge 2 commits into
Rapptz:masterfrom
owocado:bypass_slowmode_auditlog_event

Conversation

@owocado
Copy link
Copy Markdown
Contributor

@owocado owocado commented Nov 25, 2025

Summary

This PR add two new missing audit log events:

  • PIN_PERMISSION_MIGRATION_COMPLETE - type 212
    This audit log object looks like:

    {
      "id": "1441484387261747281",
      "action_type": 212,
      "user_id": "306810730055729152",
      "target_id": null
    }
  • BYPASS_SLOWMODE_PERMISSION_MIGRATION_COMPLETE - type 213
    This audit log object looks like:

    {
      "user_id": "306810730055729152",
      "target_id": null,
      "id": "1442785290375663707",
      "action_type": 213,
      "guild_id": "129315212005888060"
    }

These will be helpful in on_audit_log_entry_create event dispatched by d.py

upstream open PR: discord/discord-api-docs#8005
(keeping this PR in draft until upstream is merged)

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)

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.

2 participants