diff --git a/structure/client/components/settings/moderation/Mute.js b/structure/client/components/settings/moderation/Mute.js index c5eadeb..786e64e 100644 --- a/structure/client/components/settings/moderation/Mute.js +++ b/structure/client/components/settings/moderation/Mute.js @@ -14,8 +14,11 @@ class MuteSetting extends Setting { 'mutedType', 'muteRole', 'mutedRole', - 'createMute' - ], + 'createMute', + 'createMuteRole', + 'createMuted', + 'createMutedRole' + ], //people really be stupid like that arguments: [ { name: 'create', @@ -83,7 +86,7 @@ class MuteSetting extends Setting { let role = null; let updatedPermissions = false; let created = false; - if(parsedArguments.create || message._settingCaller === 'createmute') { + if(parsedArguments.create || ['createmute', 'createmuted', 'createmutedrole', 'createmuterole'].includes(message._settingCaller)) { const missing = message.channel.permissionsFor(message.guild.me).missing('MANAGE_ROLES'); if(missing.length > 0) return { msg: message.format('S_MUTE_ROLEMISSINGPERMISSION'),