From 4dd7512d1eddf21b69f2d2ec5b6445fb51fcea57 Mon Sep 17 00:00:00 2001 From: Navy Date: Thu, 6 Aug 2020 01:12:54 +0300 Subject: [PATCH] dev bypass to premium --- structure/client/components/commands/administration/Settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structure/client/components/commands/administration/Settings.js b/structure/client/components/commands/administration/Settings.js index 630d4b2..556cbd5 100644 --- a/structure/client/components/commands/administration/Settings.js +++ b/structure/client/components/commands/administration/Settings.js @@ -99,7 +99,7 @@ class SettingsCommand extends Command { return message.respond(msg, { emoji: 'success' }); } - if (setting.premium > message.guild.premium) return message.formattedRespond('PREMIUM_REQUIRED', { emoji: 'failure', params: { tier: message.guild.premium, required: setting.premium } }); + if (setting.premium > message.guild.premium && !message.author.developer) return message.formattedRespond('PREMIUM_REQUIRED', { emoji: 'failure', params: { tier: message.guild.premium, required: setting.premium } }); const response = await setting.handle(message, parameters); if(response.ignore) return undefined;