From 3cf1cb78d8c766b18b2c54305735dd36966c649b Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Wed, 11 May 2022 14:20:00 +0300 Subject: [PATCH] typo fix --- src/structure/components/settings/logging/DmInfraction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/components/settings/logging/DmInfraction.js b/src/structure/components/settings/logging/DmInfraction.js index 70fe54f..d1367eb 100644 --- a/src/structure/components/settings/logging/DmInfraction.js +++ b/src/structure/components/settings/logging/DmInfraction.js @@ -95,7 +95,7 @@ class DmInfraction extends Setting { const { enabled, infractions, infraction, message } = opts; - if (enabled) setting.enable = enabled.value; + if (enabled) setting.enabled = enabled.value; if (infractions) { const response = await this._prompt(interaction, {