mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 21:40:51 +02:00
AAAAAAH
This commit is contained in:
@@ -31,7 +31,7 @@ module.exports = class BanCommand 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