You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: interactions/api/models/audit_log.py
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,9 @@ class AuditLogEvents(IntEnum):
29
29
"""
30
30
A class object representing the different types of AuditLogEvents.
31
31
32
+
.. note::
33
+
There is no official name for AuditLogEvents type 151, however it does represent the server owner sets up the guild for monetization/server subscriptions.
34
+
32
35
:ivar int GUILD_UPDATE: 1 - Server settings were updated
33
36
:ivar int CHANNEL_CREATE: 10 - Channel was created
34
37
:ivar int CHANNEL_UPDATE: 11 - Channel settings were updated
@@ -83,6 +86,7 @@ class AuditLogEvents(IntEnum):
83
86
:ivar int AUTO_MODERATION_BLOCK_MESSAGE: 143 - Message was blocked by AutoMod (according to a rule)
84
87
:ivar int AUTO_MODERATION_FLAG_TO_CHANNEL: 144 - Message was flagged by AutoMod (according to a rule)
85
88
:ivar int AUTO_MODERATION_USER_COMMUNICATION_DISABLED: 145 - Member was timed out by AutoMod (according to a rule)
89
+
:ivar int GUILD_MONETIZATION_SETUP: 151 - Monetization was set up in the server.
86
90
"""
87
91
88
92
# guild related
@@ -169,6 +173,10 @@ class AuditLogEvents(IntEnum):
0 commit comments