Skip to content

Commit

Permalink
Revert "Merge pull request #122 from saiteja-madha/fix-play"
Browse files Browse the repository at this point in the history
This reverts commit cd4267e, reversing
changes made to 9863de7.
saiteja-madha committed Apr 16, 2022
1 parent a175baa commit a09e7f6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/commands/music/play.js
Original file line number Diff line number Diff line change
@@ -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";
}

0 comments on commit a09e7f6

Please sign in to comment.