From b826af8cf19849d5fc78cc55c59f351da4df8f18 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sun, 19 Mar 2017 04:21:09 +0000 Subject: [PATCH] Fix for No Permissions? --- commands/random/soundboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/random/soundboard.js b/commands/random/soundboard.js index 522e8082..6b3e1772 100644 --- a/commands/random/soundboard.js +++ b/commands/random/soundboard.js @@ -19,7 +19,7 @@ class SoundBoardCommand extends commando.Command { } console.log("[Command] " + message.content); if(message.channel.type !== 'dm') { - if(!message.channel.permissionsFor(this.client.user).hasPermission('CONNECT' || 'SPEAK')) { + if(!message.channel.permissionsFor(this.client.user).hasPermission('CONNECT' && 'SPEAK')) { message.channel.send(':x: Error! In order to do this command, you must give me the permissions to "Connect" and "Speak"!'); } else { let voiceChannel = message.member.voiceChannel;