Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: Fix AutoModerationRuleTriggerTypes link (#9530)
docs: fix `AutoModerationRuleTriggerTypes` link
  • Loading branch information
Jiralite committed May 7, 2023
1 parent 5057f04 commit 24ac27d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/managers/AutoModerationRuleManager.js
Expand Up @@ -85,9 +85,11 @@ class AutoModerationRuleManager extends CachedManager {
* @property {AutoModerationRuleEventType} eventType The event type of the auto moderation rule
* @property {AutoModerationRuleTriggerType} triggerType The trigger type of the auto moderation rule
* @property {AutoModerationTriggerMetadataOptions} [triggerMetadata] The trigger metadata of the auto moderation rule
* <info>This property is required if using a `triggerType` of
* {@link AutoModerationRuleTriggerTypes.KEYWORD}, {@link AutoModerationRuleTriggerTypes.KEYWORD_PRESET},
* or {@link AutoModerationRuleTriggerTypes.MENTION_SPAM}.</info>
* <info>This property is required if the following `triggerType`s are used:
* * {@link AutoModerationRuleTriggerType.KEYWORD KEYWORD}
* * {@link AutoModerationRuleTriggerType.KEYWORD_PRESET KEYWORD_PRESET}
* * {@link AutoModerationRuleTriggerType.MENTION_SPAM MENTION_SPAM}
* </info>
* @property {AutoModerationActionOptions[]} actions
* The actions that will execute when the auto moderation rule is triggered
* @property {boolean} [enabled] Whether the auto moderation rule should be enabled
Expand Down
2 changes: 1 addition & 1 deletion src/structures/AutoModerationRule.js
Expand Up @@ -71,7 +71,7 @@ class AutoModerationRule extends Base {
* @property {AutoModerationRuleKeywordPresetType[]} presets
* The internally pre-defined wordsets which will be searched for in the content
* @property {string[]} allowList The substrings that will be exempt from triggering
* {@link AutoModerationRuleTriggerTypes.KEYWORD} and {@link AutoModerationRuleTriggerTypes.KEYWORD_PRESET}
* {@link AutoModerationRuleTriggerType.KEYWORD} and {@link AutoModerationRuleTriggerType.KEYWORD_PRESET}
* @property {?number} mentionTotalLimit The total number of role & user mentions allowed per message
* @property {boolean} mentionRaidProtectionEnabled Whether mention raid protection is enabled
*/
Expand Down

0 comments on commit 24ac27d

Please sign in to comment.