From 85285f495bb3a03ba8303db7caf51546f6087726 Mon Sep 17 00:00:00 2001 From: Isaac Date: Mon, 7 Jun 2021 19:47:01 +0100 Subject: [PATCH] fix: ensure bot is given correct permissions Ensure the bot has the required permissions in the panel channel. --- src/commands/panel.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/panel.js b/src/commands/panel.js index 457d648..b228b5f 100644 --- a/src/commands/panel.js +++ b/src/commands/panel.js @@ -117,7 +117,7 @@ module.exports = class PanelCommand extends Command { id: message.guild.roles.everyone }, { - allow: ['EMBED_LINKS'], + allow: ['SEND_MESSAGES', 'EMBED_LINKS', 'ADD_REACTIONS'], id: this.client.user.id } ], @@ -150,7 +150,7 @@ module.exports = class PanelCommand extends Command { id: message.guild.roles.everyone }, { - allow: ['SEND_MESSAGES', 'EMBED_LINKS'], + allow: ['SEND_MESSAGES', 'EMBED_LINKS', 'ADD_REACTIONS'], id: this.client.user.id } ], @@ -205,4 +205,4 @@ module.exports = class PanelCommand extends Command { message: panel_message.id }); } -}; \ No newline at end of file +};