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

Add missing AuditLog event types #1991

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/1991.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
+ Add missing fields to `AuditLogEventType`
9 changes: 8 additions & 1 deletion hikari/audit_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,12 +339,19 @@ class AuditLogEventType(int, enums.Enum):
GUILD_SCHEDULED_EVENT_CREATE = 100
GUILD_SCHEDULED_EVENT_UPDATE = 101
GUILD_SCHEDULED_EVENT_DELETE = 102
APPLICATION_COMMAND_PERMISSION_UPDATE = 121
THREAD_CREATE = 110
THREAD_UPDATE = 111
THREAD_DELETE = 112
APPLICATION_COMMAND_PERMISSION_UPDATE = 121
CREATOR_MONETIZATION_REQUEST_CREATED = 150
CREATOR_MONETIZATION_TERMS_ACCEPTED = 151
ONBOARDING_PROMPT_CREATE = 163
ONBOARDING_PROMPT_UPDATE = 164
ONBOARDING_PROMPT_DELETE = 165
ONBOARDING_CREATE = 166
ONBOARDING_UPDATE = 167
HOME_SETTINGS_CREATE = 190
HOME_SETTINGS_UPDATE = 191


@attrs.define(kw_only=True, weakref_slot=False)
Expand Down
Loading