File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -85,9 +85,11 @@ class AutoModerationRuleManager extends CachedManager {
85
85
* @property {AutoModerationRuleEventType } eventType The event type of the auto moderation rule
86
86
* @property {AutoModerationRuleTriggerType } triggerType The trigger type of the auto moderation rule
87
87
* @property {AutoModerationTriggerMetadataOptions } [triggerMetadata] The trigger metadata of the auto moderation rule
88
- * <info>This property is required if using a `triggerType` of
89
- * {@link AutoModerationRuleTriggerTypes.KEYWORD}, {@link AutoModerationRuleTriggerTypes.KEYWORD_PRESET},
90
- * or {@link AutoModerationRuleTriggerTypes.MENTION_SPAM}.</info>
88
+ * <info>This property is required if the following `triggerType`s are used:
89
+ * * {@link AutoModerationRuleTriggerType.KEYWORD KEYWORD}
90
+ * * {@link AutoModerationRuleTriggerType.KEYWORD_PRESET KEYWORD_PRESET}
91
+ * * {@link AutoModerationRuleTriggerType.MENTION_SPAM MENTION_SPAM}
92
+ * </info>
91
93
* @property {AutoModerationActionOptions[] } actions
92
94
* The actions that will execute when the auto moderation rule is triggered
93
95
* @property {boolean } [enabled] Whether the auto moderation rule should be enabled
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class AutoModerationRule extends Base {
71
71
* @property {AutoModerationRuleKeywordPresetType[] } presets
72
72
* The internally pre-defined wordsets which will be searched for in the content
73
73
* @property {string[] } allowList The substrings that will be exempt from triggering
74
- * {@link AutoModerationRuleTriggerTypes .KEYWORD} and {@link AutoModerationRuleTriggerTypes .KEYWORD_PRESET}
74
+ * {@link AutoModerationRuleTriggerType .KEYWORD} and {@link AutoModerationRuleTriggerType .KEYWORD_PRESET}
75
75
* @property {?number } mentionTotalLimit The total number of role & user mentions allowed per message
76
76
* @property {boolean } mentionRaidProtectionEnabled Whether mention raid protection is enabled
77
77
*/
You can’t perform that action at this time.
0 commit comments