KeywordAutoModerationRuleBehavior
The behavior of a KeywordAutoModerationRule.
Inheritors
Properties
Link copied to clipboard
The behavior of the Guild which this rule belongs to.
Link copied to clipboard
The supplier used to request entities.
Link copied to clipboard
The rule trigger type.
Functions
Link copied to clipboard
Requests to get this behavior as a KeywordAutoModerationRule.
Link copied to clipboard
Requests to get this behavior as a KeywordAutoModerationRule. Returns null
if it wasn't found or if the rule isn't a KeywordAutoModerationRule.
Link copied to clipboard
Requests to delete this AutoModerationRule.
Link copied to clipboard
inline suspend fun AutoModerationRuleBehavior.edit(builder: UntypedAutoModerationRuleModifyBuilder.() -> Unit): AutoModerationRule
Requests to edit this AutoModerationRule and returns the edited rule.
inline suspend fun KeywordAutoModerationRuleBehavior.edit(builder: KeywordAutoModerationRuleModifyBuilder.() -> Unit): KeywordAutoModerationRule
Requests to edit this KeywordAutoModerationRule and returns the edited rule.
Link copied to clipboard
Requests to get the Guild which this rule belongs to. Returns null
if it wasn't found.
Link copied to clipboard
abstract override fun withStrategy(strategy: EntitySupplyStrategy<*>): KeywordAutoModerationRuleBehavior