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
@@ -22,7 +22,7 @@ module.exports = class ClearSettingCommand extends Command {
}
hasPermission(msg) {
return msg.member.permissions.has('ADMINISTRATOR');
return msg.member.hasPermission('ADMINISTRATOR');
}
run(msg, args) {
+1 -1
View File
@@ -17,7 +17,7 @@ module.exports = class MemberLogCommand extends Command {
}
hasPermission(msg) {
return msg.member.permissions.has('ADMINISTRATOR');
return msg.member.hasPermission('ADMINISTRATOR');
}
run(msg, args) {
+1 -1
View File
@@ -17,7 +17,7 @@ module.exports = class ModChannelCommand extends Command {
}
hasPermission(msg) {
return msg.member.permissions.has('ADMINISTRATOR');
return msg.member.hasPermission('ADMINISTRATOR');
}
run(msg, args) {
+1 -1
View File
@@ -17,7 +17,7 @@ module.exports = class StaffRoleCommand extends Command {
}
hasPermission(msg) {
return msg.member.permissions.has('ADMINISTRATOR');
return msg.member.hasPermission('ADMINISTRATOR');
}
run(msg, args) {