hasPermission

This commit is contained in:
Daniel Odendahl Jr
2017-05-02 15:41:19 +00:00
parent 1bb6130923
commit 57ee7fa82b
12 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ module.exports = class LockdownCommand extends Command {
}
hasPermission(msg) {
return msg.member.permissions.has('ADMINISTRATOR');
return msg.member.hasPermission('ADMINISTRATOR');
}
async run(msg, args) {