diff --git a/commands/util-voice/leave.js b/commands/util-voice/leave.js index 243aedd5..a1493cc8 100644 --- a/commands/util-voice/leave.js +++ b/commands/util-voice/leave.js @@ -17,12 +17,6 @@ module.exports = class LeaveCommand extends Command { run(msg) { const connection = getVoiceConnection(msg.guild.id); if (!connection) return msg.reply('I am not in a voice channel.'); - if (!connection.channel.members.has(msg.author.id)) { - return msg.reply('You must be in the voice channel to remove me from it.'); - } - if (!msg.channel.permissionsFor(msg.author).has('MOVE_MEMBERS') && connection.channel.members.size > 2) { - return msg.reply('You need the "Move members" permission to remove me from this voice channel.'); - } if (this.client.dispatchers.has(msg.guild.id)) { const usage = this.client.registry.commands.get('stop').usage(); return msg.reply(`I am currently playing audio in this server. Please use ${usage} first.`); diff --git a/commands/util-voice/pause.js b/commands/util-voice/pause.js index 1dbeb9c7..90556b0e 100644 --- a/commands/util-voice/pause.js +++ b/commands/util-voice/pause.js @@ -17,9 +17,6 @@ module.exports = class PauseCommand extends Command { run(msg) { const connection = getVoiceConnection(msg.guild.id); if (!connection) return msg.reply('I am not in a voice channel.'); - if (!msg.channel.permissionsFor(msg.author).has('MOVE_MEMBERS') && connection.channel.members.size > 2) { - return msg.reply('You need the "Move members" permission to stop playing audio.'); - } if (!this.client.dispatchers.has(msg.guild.id)) { return msg.reply(`I am not currently playing audio in this server.`); } diff --git a/commands/util-voice/resume.js b/commands/util-voice/resume.js index cfa83d93..e94bb663 100644 --- a/commands/util-voice/resume.js +++ b/commands/util-voice/resume.js @@ -17,9 +17,6 @@ module.exports = class ResumeCommand extends Command { run(msg) { const connection = getVoiceConnection(msg.guild.id); if (!connection) return msg.reply('I am not in a voice channel.'); - if (!msg.channel.permissionsFor(msg.author).has('MOVE_MEMBERS') && connection.channel.members.size > 2) { - return msg.reply('You need the "Move members" permission to stop playing audio.'); - } if (!this.client.dispatchers.has(msg.guild.id)) { return msg.reply(`I am not currently playing audio in this server.`); } diff --git a/commands/util-voice/stop.js b/commands/util-voice/stop.js index a2590a46..4b37a35c 100644 --- a/commands/util-voice/stop.js +++ b/commands/util-voice/stop.js @@ -17,9 +17,6 @@ module.exports = class StopCommand extends Command { run(msg) { const connection = getVoiceConnection(msg.guild.id); if (!connection) return msg.reply('I am not in a voice channel.'); - if (!msg.channel.permissionsFor(msg.author).has('MOVE_MEMBERS') && connection.channel.members.size > 2) { - return msg.reply('You need the "Move members" permission to stop playing audio.'); - } if (!this.client.dispatchers.has(msg.guild.id)) { return msg.reply(`I am not currently playing audio in this server.`); }