mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 22:32:50 +02:00
Fix for Mod Commands?
This commit is contained in:
@@ -12,6 +12,7 @@ module.exports = class KickCommand extends commando.Command {
|
||||
});
|
||||
}
|
||||
hasPermission(msg) {
|
||||
if (msg.channel.type === 'dm') return;
|
||||
return msg.member.hasPermission('KICK_MEMBERS');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user