misc stuff
This commit is contained in:
parent
3b66549686
commit
a313ddf53f
@ -19,7 +19,7 @@ class ModerationLogsSetting extends Setting {
|
||||
usage: '<method|value> [value..]',
|
||||
resolve: 'GUILD',
|
||||
examples: [
|
||||
'modlog <add|remove|list> <infraction-type..>',
|
||||
'modlog add|remove|list <infraction-type..>',
|
||||
'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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user