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', memberName: 'ban',
description: 'ban the mentionned user', description: 'ban the mentionned user',
guildOnly: true, guildOnly: true,
clientPermissions: ['ADMINISTRATOR'], clientPermissions: ['BAN_MEMBERS'],
userPermissions: ['BAN_MEMBERS'], userPermissions: ['BAN_MEMBERS'],
args: [ args: [
{ {

View file

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