Fixed permissions

This commit is contained in:
Loïc Bersier 2018-09-07 23:57:57 +02:00
parent 46860291a2
commit 3ef3d787f1
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ module.exports = class BanCommand extends Command {
memberName: 'ban',
description: 'ban the mentionned user',
guildOnly: true,
clientPermissions: ['ADMINISTRATOR'],
clientPermissions: ['BAN_MEMBERS'],
userPermissions: ['BAN_MEMBERS'],
args: [
{

View file

@ -7,7 +7,7 @@ module.exports = class KickCommand extends Command {
memberName: 'kick',
description: 'Kick the mentionned user',
guildOnly: true,
clientPermissions: ['ADMINISTRATOR'],
clientPermissions: ['KICK_MEMBERS'],
userPermissions: ['KICK_MEMBERS'],
args: [
{