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, {