mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 16:19:12 +02:00
Softban, Server Staff Role
This commit is contained in:
@@ -28,7 +28,7 @@ module.exports = class KickCommand extends Command {
|
||||
}
|
||||
|
||||
hasPermission(msg) {
|
||||
return msg.member.permissions.has('KICK_MEMBERS');
|
||||
return msg.member.permissions.has('KICK_MEMBERS') || msg.member.roles.exists('name', 'Server Staff');
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
|
||||
Reference in New Issue
Block a user