From b0a095d46b6fd59fd5060577f741dd3dd54495d1 Mon Sep 17 00:00:00 2001
From: Elysia <71698422+aiko-chan-ai@users.noreply.github.com>
Date: Fri, 12 May 2023 18:00:06 +0700
Subject: [PATCH] docs: Fix `AutoModerationRuleTriggerTypes` link
---
src/managers/AutoModerationRuleManager.js | 8 +++++---
src/structures/AutoModerationRule.js | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/managers/AutoModerationRuleManager.js b/src/managers/AutoModerationRuleManager.js
index c6dd339..f913b92 100644
--- a/src/managers/AutoModerationRuleManager.js
+++ b/src/managers/AutoModerationRuleManager.js
@@ -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
- * This property is required if using a `triggerType` of
- * {@link AutoModerationRuleTriggerTypes.KEYWORD}, {@link AutoModerationRuleTriggerTypes.KEYWORD_PRESET},
- * or {@link AutoModerationRuleTriggerTypes.MENTION_SPAM}.
+ * 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}
+ *
* @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
diff --git a/src/structures/AutoModerationRule.js b/src/structures/AutoModerationRule.js
index 2c287c6..bfc1b98 100644
--- a/src/structures/AutoModerationRule.js
+++ b/src/structures/AutoModerationRule.js
@@ -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
*/