parent
cd37e22b10
commit
ae8157302e
@ -546,6 +546,7 @@ class GuildAuditLogsEntry {
|
||||
this.extra = {
|
||||
autoModerationRuleName: data.options.auto_moderation_rule_name,
|
||||
autoModerationRuleTriggerType: AutoModerationRuleTriggerTypes[data.options.auto_moderation_rule_trigger_type],
|
||||
channel: guild.client.channels.cache.get(data.options?.channel_id) ?? { id: data.options?.channel_id },
|
||||
};
|
||||
break;
|
||||
|
||||
|
3
typings/index.d.ts
vendored
3
typings/index.d.ts
vendored
@ -6215,14 +6215,17 @@ export interface GuildAuditLogsEntryExtraField {
|
||||
AUTO_MODERATION_BLOCK_MESSAGE: {
|
||||
autoModerationRuleName: string;
|
||||
autoModerationRuleTriggerType: AutoModerationRuleTriggerType;
|
||||
channel: GuildTextBasedChannel | { id: Snowflake };
|
||||
};
|
||||
AUTO_MODERATION_FLAG_TO_CHANNEL: {
|
||||
autoModerationRuleName: string;
|
||||
autoModerationRuleTriggerType: AutoModerationRuleTriggerType;
|
||||
channel: GuildTextBasedChannel | { id: Snowflake };
|
||||
};
|
||||
AUTO_MODERATION_USER_COMMUNICATIONDISABLED: {
|
||||
autoModerationRuleName: string;
|
||||
autoModerationRuleTriggerType: AutoModerationRuleTriggerType;
|
||||
channel: GuildTextBasedChannel | { id: Snowflake };
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user