File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class AutoModEvents(EventMixinTemplate):
14
14
@Processor .define ()
15
15
async def _raw_auto_moderation_action_execution (self , event : "RawGatewayEvent" ) -> None :
16
16
action = AutoModerationAction .from_dict (event .data .copy (), self )
17
- channel = self .get_channel (event .data [ "channel_id" ] )
17
+ channel = self .get_channel (event .data . get ( "channel_id" ) )
18
18
guild = self .get_guild (event .data ["guild_id" ])
19
19
self .dispatch (events .AutoModExec (action , channel , guild ))
20
20
Original file line number Diff line number Diff line change @@ -968,6 +968,7 @@ class AuditLogEventType(CursedIntEnum):
968
968
AUTO_MODERATION_BLOCK_MESSAGE = 143
969
969
AUTO_MODERATION_FLAG_TO_CHANNEL = 144
970
970
AUTO_MODERATION_USER_COMMUNICATION_DISABLED = 145
971
+ AUTO_MODERATION_QUARANTINE = 146
971
972
CREATOR_MONETIZATION_REQUEST_CREATED = 150
972
973
CREATOR_MONETIZATION_TERMS_ACCEPTED = 151
973
974
ROLE_PROMPT_CREATE = 160
You can’t perform that action at this time.
0 commit comments