mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
fix: ensure bot is given correct permissions
Ensure the bot has the required permissions in the panel channel.
This commit is contained in:
parent
c56a35fd11
commit
85285f495b
@ -117,7 +117,7 @@ module.exports = class PanelCommand extends Command {
|
|||||||
id: message.guild.roles.everyone
|
id: message.guild.roles.everyone
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
allow: ['EMBED_LINKS'],
|
allow: ['SEND_MESSAGES', 'EMBED_LINKS', 'ADD_REACTIONS'],
|
||||||
id: this.client.user.id
|
id: this.client.user.id
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -150,7 +150,7 @@ module.exports = class PanelCommand extends Command {
|
|||||||
id: message.guild.roles.everyone
|
id: message.guild.roles.everyone
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
allow: ['SEND_MESSAGES', 'EMBED_LINKS'],
|
allow: ['SEND_MESSAGES', 'EMBED_LINKS', 'ADD_REACTIONS'],
|
||||||
id: this.client.user.id
|
id: this.client.user.id
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -205,4 +205,4 @@ module.exports = class PanelCommand extends Command {
|
|||||||
message: panel_message.id
|
message: panel_message.id
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user