This commit is contained in:
Daniel Odendahl Jr
2017-04-26 17:37:53 +00:00
parent aeeb2d0924
commit 29005a8945
44 changed files with 54 additions and 54 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ module.exports = class WebhookCommand extends Command {
}
async run(message, args) {
if (!message.channel.permissionsFor(this.client.user).hasPermission('MANAGE_MESSAGES'))
if (!message.channel.permissionsFor(this.client.user).has('MANAGE_MESSAGES'))
return message.say('This Command requires the `Manage Messages` Permission.');
const { text } = args;
try {