From a09e7f692c50cf96dda62183d5abacd0ee183dbf Mon Sep 17 00:00:00 2001 From: Sai Teja Madha <42540377+saiteja-madha@users.noreply.github.com> Date: Sun, 17 Apr 2022 00:57:30 +0530 Subject: [PATCH] Revert "Merge pull request #122 from saiteja-madha/fix-play" This reverts commit cd4267ed1a53d8400134a72dafd4c8722fdc694e, reversing changes made to 9863de72b7fc843e81a6de5bb75b06156cea2791. --- src/commands/music/play.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/commands/music/play.js b/src/commands/music/play.js index 91ec3a674..40e9ba448 100644 --- a/src/commands/music/play.js +++ b/src/commands/music/play.js @@ -53,8 +53,6 @@ async function play({ member, guild, channel }, user, query) { if (!member.voice.channel) return "🚫 You need to join a voice channel first"; let player = guild.client.musicManager.get(guild.id); - if (!player) return "🚫 I'm not in a voice channel"; - if (player && member.voice.channel !== guild.me.voice.channel) { return "🚫 You must be in the same voice channel as mine"; }