From ef5b2edd218cdc5caaaa7fca3c5b5c783ab39876 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sat, 17 Feb 2018 22:01:09 +0000 Subject: [PATCH] User perms --- commands/portal/add-portal-channel.js | 1 + commands/portal/remove-portal-channel.js | 1 + 2 files changed, 2 insertions(+) diff --git a/commands/portal/add-portal-channel.js b/commands/portal/add-portal-channel.js index 4f51e3c7..6712744f 100644 --- a/commands/portal/add-portal-channel.js +++ b/commands/portal/add-portal-channel.js @@ -9,6 +9,7 @@ module.exports = class AddPortalChannelCommand extends Command { memberName: 'add-portal-channel', description: 'Sets a channel to be a portal channel.', guildOnly: true, + userPermissions: ['MANAGE_CHANNELS'], args: [ { key: 'channel', diff --git a/commands/portal/remove-portal-channel.js b/commands/portal/remove-portal-channel.js index 8a5c760e..32b77b25 100644 --- a/commands/portal/remove-portal-channel.js +++ b/commands/portal/remove-portal-channel.js @@ -9,6 +9,7 @@ module.exports = class RemovePortalChannelCommand extends Command { memberName: 'remove-portal-channel', description: 'Remove a channel from the portal channels.', guildOnly: true, + userPermissions: ['MANAGE_CHANNELS'], args: [ { key: 'channel',