mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-14 08:08:34 +02:00
AAAAAAH
This commit is contained in:
@@ -35,7 +35,7 @@ module.exports = class UnbanCommand extends Command {
|
||||
}
|
||||
|
||||
hasPermission(msg) {
|
||||
return msg.member.has('BAN_MEMBERS');
|
||||
return msg.member.permissions.has('BAN_MEMBERS');
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
|
||||
Reference in New Issue
Block a user