fix: ensure bot is given correct permissions

Ensure the bot has the required permissions in the panel channel.
This commit is contained in:
Isaac 2021-06-07 19:47:01 +01:00 committed by GitHub
parent c56a35fd11
commit 85285f495b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
});
}
};
};