From a313ddf53fae6bfc80eb12c1dd294312c82e5f33 Mon Sep 17 00:00:00 2001 From: Navy Date: Sat, 11 Jul 2020 23:37:09 +0300 Subject: [PATCH] misc stuff --- .../client/components/settings/moderation/ModerationLog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {