Skip to content

Commit

Permalink
Merge branch 'auditfuck' of https://github.com/Aiko-IT-Systems/DisCat…
Browse files Browse the repository at this point in the history
…Sharp into auditfuck
  • Loading branch information
Lulalaby committed Oct 17, 2023
2 parents 74177c2 + 16b4cbf commit 0b6729c
Showing 1 changed file with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
namespace DisCatSharp.Entities;
using DisCatSharp.Enums;

namespace DisCatSharp.Entities;

/// <summary>
/// Represents a change set for a message being blocked by Auto Moderation.
/// </summary>
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;
}

0 comments on commit 0b6729c

Please sign in to comment.