From 4a4ab71ba8bdfea4db4c6b00d737151072d2d2d8 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sat, 1 Apr 2017 21:05:10 +0000 Subject: [PATCH] Lockdown Out of Beta --- commands/moderation/lockdown.js | 6 +++--- html/carbonfeat.html | 2 +- html/discordbots.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/commands/moderation/lockdown.js b/commands/moderation/lockdown.js index 4d0cefb7..c20a0f8d 100644 --- a/commands/moderation/lockdown.js +++ b/commands/moderation/lockdown.js @@ -23,7 +23,7 @@ module.exports = class LockdownCommand extends commando.Command { }); } hasPermission(msg) { - return msg.member.hasPermission('MANAGE_CHANNELS'); + return msg.member.hasPermission('ADMINISTRATOR'); } async run(message, args) { @@ -38,7 +38,7 @@ module.exports = class LockdownCommand extends commando.Command { await message.channel.overwritePermissions(message.guild.defaultRole, { SEND_MESSAGES: false }); - return message.say('**Lockdown Started, users with no roles can no longer post messages. Please use ;lockdown stop to end the lockdown.**'); + return message.say('**Lockdown Started, users without Administrator can no longer post messages. Please use ;lockdown stop to end the lockdown.**'); } catch (err) { return message.say(':x: Error! Something went wrong!'); @@ -49,7 +49,7 @@ module.exports = class LockdownCommand extends commando.Command { await message.channel.overwritePermissions(message.guild.defaultRole, { SEND_MESSAGES: true }); - return message.say('**Lockdown Ended, users with no roles can now post messages.**'); + return message.say('**Lockdown Ended, users without Administrator can now post messages.**'); } catch (err) { return message.say(':x: Error! Something went wrong!'); diff --git a/html/carbonfeat.html b/html/carbonfeat.html index 1609edd9..a8584df2 100644 --- a/html/carbonfeat.html +++ b/html/carbonfeat.html @@ -13,7 +13,7 @@