diff --git a/DisCatSharp/Entities/Guild/AuditLog/ChangeSet/AutoModerationBlockMessageChangeSet.cs b/DisCatSharp/Entities/Guild/AuditLog/ChangeSet/AutoModerationBlockMessageChangeSet.cs index ece0794ea0..8760292f8b 100644 --- a/DisCatSharp/Entities/Guild/AuditLog/ChangeSet/AutoModerationBlockMessageChangeSet.cs +++ b/DisCatSharp/Entities/Guild/AuditLog/ChangeSet/AutoModerationBlockMessageChangeSet.cs @@ -1,7 +1,20 @@ -namespace DisCatSharp.Entities; +using DisCatSharp.Enums; + +namespace DisCatSharp.Entities; /// /// Represents a change set for a message being blocked by Auto Moderation. /// public class AutoModerationBlockMessageChangeSet : DiscordAuditLogEntry -{ } +{ + public AutoModerationBlockMessageChangeSet() + { + this.ValidFor = AuditLogActionType.AutoModerationBlockMessage; + } + + public string RuleName => this.Options.AutoModerationRuleName; + public AutomodTriggerType? TriggerType => this.Options.AutoModerationRuleTriggerType; + + public ulong ChannelId => this.Options.ChannelId!.Value; + public DiscordChannel Channel => this.Options.Channel; +}