diff --git a/packages/discord.js/src/structures/AutoModerationRule.js b/packages/discord.js/src/structures/AutoModerationRule.js index d9143e031452..8dc768d0209a 100644 --- a/packages/discord.js/src/structures/AutoModerationRule.js +++ b/packages/discord.js/src/structures/AutoModerationRule.js @@ -238,7 +238,7 @@ class AutoModerationRule extends Base { * @returns {Promise} */ setMentionRaidProtectionEnabled(mentionRaidProtectionEnabled, reason) { - return this.edit({ triggerMetadata: { mentionRaidProtectionEnabled }, reason }); + return this.edit({ triggerMetadata: { ...this.triggerMetadata, mentionRaidProtectionEnabled }, reason }); } /**