Class AutoModRuleActionProperties
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Provides properties used to modify a AutoModRuleAction.
public class AutoModRuleActionProperties
- Inheritance
-
AutoModRuleActionProperties
- Inherited Members
Properties
ChannelId
Get or sets the channel id on which to post alerts.
public ulong? ChannelId { get; set; }
Property Value
CustomMessage
Gets or sets the custom message that will be shown to members whenever their message is blocked.
public Optional<string> CustomMessage { get; set; }
Property Value
TimeoutDuration
Gets or sets the duration of which a user will be timed out for breaking this rule.
public TimeSpan? TimeoutDuration { get; set; }
Property Value
Type
Gets or sets the type for this action.
public AutoModActionType Type { get; set; }