From 3ef3d787f126fe4c9e29872d45773b89be83741a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Fri, 7 Sep 2018 23:57:57 +0200 Subject: [PATCH] Fixed permissions --- commands/admin/ban.js | 2 +- commands/admin/kick.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/admin/ban.js b/commands/admin/ban.js index 5f30146..ad1ae50 100644 --- a/commands/admin/ban.js +++ b/commands/admin/ban.js @@ -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: [ { diff --git a/commands/admin/kick.js b/commands/admin/kick.js index 1a30177..e92f74d 100644 --- a/commands/admin/kick.js +++ b/commands/admin/kick.js @@ -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: [ {