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;