@@ -82,7 +82,7 @@ impl Action {
8282 90 ..=92 => Action :: Sticker ( unsafe { transmute ( value) } ) ,
8383 100 ..=102 => Action :: ScheduledEvent ( unsafe { transmute ( value) } ) ,
8484 110 ..=112 => Action :: Thread ( unsafe { transmute ( value) } ) ,
85- 140 ..=145 => Action :: AutoMod ( unsafe { transmute ( value) } ) ,
85+ 140 ..=146 => Action :: AutoMod ( unsafe { transmute ( value) } ) ,
8686 150 ..=151 => Action :: CreatorMonetization ( unsafe { transmute ( value) } ) ,
8787 192 ..=193 => Action :: VoiceChannelStatus ( unsafe { transmute ( value) } ) ,
8888 _ => Action :: Unknown ( value) ,
@@ -266,6 +266,7 @@ pub enum AutoModAction {
266266 BlockMessage = 143 ,
267267 FlagToChannel = 144 ,
268268 UserCommunicationDisabled = 145 ,
269+ QuarantineUser = 146 ,
269270}
270271
271272/// [Discord docs](https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events).
@@ -462,6 +463,7 @@ mod tests {
462463 assert_action ! ( Action :: AutoMod ( AutoModAction :: BlockMessage ) , 143 ) ;
463464 assert_action ! ( Action :: AutoMod ( AutoModAction :: FlagToChannel ) , 144 ) ;
464465 assert_action ! ( Action :: AutoMod ( AutoModAction :: UserCommunicationDisabled ) , 145 ) ;
466+ assert_action ! ( Action :: AutoMod ( AutoModAction :: QuarantineUser ) , 146 ) ;
465467 assert_action ! ( Action :: CreatorMonetization ( CreatorMonetizationAction :: RequestCreated ) , 150 ) ;
466468 assert_action ! ( Action :: CreatorMonetization ( CreatorMonetizationAction :: TermsAccepted ) , 151 ) ;
467469 assert_action ! ( Action :: VoiceChannelStatus ( VoiceChannelStatusAction :: StatusUpdate ) , 192 ) ;
0 commit comments