mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-01 08:21:27 +03:00
fix: ensure bot is given correct permissions
Ensure the bot has the required permissions in the panel channel.
This commit is contained in:
@@ -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
|
||||
});
|
||||
}
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user