mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 15:57:43 +02:00
Softban, Server Staff Role
This commit is contained in:
@@ -27,7 +27,7 @@ module.exports = class WarnCommand 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