Table of Contents

Class JsonAutoModerationRuleTriggerMetadata

Namespace
NetCord.JsonModels
Assembly
NetCord.dll
public class JsonAutoModerationRuleTriggerMetadata
Inheritance
JsonAutoModerationRuleTriggerMetadata
Inherited Members

Constructors

JsonAutoModerationRuleTriggerMetadata()

public JsonAutoModerationRuleTriggerMetadata()

Properties

AllowList

[JsonPropertyName("allow_list")]
public string[]? AllowList { get; set; }

Property Value

string[]

KeywordFilter

[JsonPropertyName("keyword_filter")]
public string[]? KeywordFilter { get; set; }

Property Value

string[]

MentionRaidProtectionEnabled

[JsonPropertyName("mention_raid_protection_enabled")]
public bool MentionRaidProtectionEnabled { get; set; }

Property Value

bool

MentionTotalLimit

[JsonPropertyName("mention_total_limit")]
public int? MentionTotalLimit { get; set; }

Property Value

int?

Presets

[JsonPropertyName("presets")]
public AutoModerationRuleKeywordPresetType[]? Presets { get; set; }

Property Value

AutoModerationRuleKeywordPresetType[]

RegexPatterns

[JsonPropertyName("regex_patterns")]
public string[] RegexPatterns { get; set; }

Property Value

string[]