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