Table of Contents

Class JsonAutoModerationRule

Namespace
NetCord.JsonModels
Assembly
NetCord.dll
public class JsonAutoModerationRule : JsonEntity
Inheritance
JsonAutoModerationRule
Inherited Members

Constructors

JsonAutoModerationRule()

public JsonAutoModerationRule()

Properties

Actions

[JsonPropertyName("actions")]
public JsonAutoModerationAction[] Actions { get; set; }

Property Value

JsonAutoModerationAction[]

CreatorId

[JsonPropertyName("creator_id")]
public ulong CreatorId { get; set; }

Property Value

ulong

Enabled

[JsonPropertyName("enabled")]
public bool Enabled { get; set; }

Property Value

bool

EventType

[JsonPropertyName("event_type")]
public AutoModerationRuleEventType EventType { get; set; }

Property Value

AutoModerationRuleEventType

ExemptChannels

[JsonPropertyName("exempt_channels")]
public ulong[] ExemptChannels { get; set; }

Property Value

ulong[]

ExemptRoles

[JsonPropertyName("exempt_roles")]
public ulong[] ExemptRoles { get; set; }

Property Value

ulong[]

GuildId

[JsonPropertyName("guild_id")]
public ulong GuildId { get; set; }

Property Value

ulong

Name

[JsonPropertyName("name")]
public string Name { get; set; }

Property Value

string

TriggerMetadata

[JsonPropertyName("trigger_metadata")]
public JsonAutoModerationRuleTriggerMetadata TriggerMetadata { get; set; }

Property Value

JsonAutoModerationRuleTriggerMetadata

TriggerType

[JsonPropertyName("trigger_type")]
public AutoModerationRuleTriggerType TriggerType { get; set; }

Property Value

AutoModerationRuleTriggerType