diff --git a/structure/client/components/settings/moderation/ModerationLog.js b/structure/client/components/settings/moderation/ModerationLog.js index 4ff259d..bcc8900 100644 --- a/structure/client/components/settings/moderation/ModerationLog.js +++ b/structure/client/components/settings/moderation/ModerationLog.js @@ -19,7 +19,7 @@ class ModerationLogsSetting extends Setting { usage: ' [value..]', resolve: 'GUILD', examples: [ - 'modlog ', + 'modlog add|remove|list ', 'modlog #moderation-log', 'modlog reset', 'modlog off' @@ -38,7 +38,7 @@ class ModerationLogsSetting extends Setting { const { guild } = message; const setting = guild._settings.moderationLog; - const response = await this.resolveMethod(params, CONSTANTS.INFRACTIONS, setting.infractions); + const response = await this.resolveMethod(params.map((p) => p.toUpperCase()), CONSTANTS.INFRACTIONS, setting.infractions); if (response) {