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