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
@@ -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) {