This commit is contained in:
Daniel Odendahl Jr
2017-04-26 17:41:05 +00:00
parent 29005a8945
commit b4cc3dab20
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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) {