File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -542,6 +542,7 @@ class GuildAuditLogsEntry {
542
542
this . extra = {
543
543
autoModerationRuleName : data . options . auto_moderation_rule_name ,
544
544
autoModerationRuleTriggerType : AutoModerationRuleTriggerTypes [ data . options . auto_moderation_rule_trigger_type ] ,
545
+ channel : guild . client . channels . cache . get ( data . options ?. channel_id ) ?? { id : data . options ?. channel_id } ,
545
546
} ;
546
547
break ;
547
548
default :
Original file line number Diff line number Diff line change @@ -5312,14 +5312,17 @@ export interface GuildAuditLogsEntryExtraField {
5312
5312
AUTO_MODERATION_BLOCK_MESSAGE : {
5313
5313
autoModerationRuleName : string ;
5314
5314
autoModerationRuleTriggerType : AutoModerationRuleTriggerType ;
5315
+ channel : GuildTextBasedChannel | { id : Snowflake } ;
5315
5316
} ;
5316
5317
AUTO_MODERATION_FLAG_TO_CHANNEL : {
5317
5318
autoModerationRuleName : string ;
5318
5319
autoModerationRuleTriggerType : AutoModerationRuleTriggerType ;
5320
+ channel : GuildTextBasedChannel | { id : Snowflake } ;
5319
5321
} ;
5320
5322
AUTO_MODERATION_USER_COMMUNICATIONDISABLED : {
5321
5323
autoModerationRuleName : string ;
5322
5324
autoModerationRuleTriggerType : AutoModerationRuleTriggerType ;
5325
+ channel : GuildTextBasedChannel | { id : Snowflake } ;
5323
5326
} ;
5324
5327
}
5325
5328
You can’t perform that action at this time.
0 commit comments