diff --git a/src/main/java/ml/duncte123/skybot/BotListener.java b/src/main/java/ml/duncte123/skybot/BotListener.java index 0771ab2b5..30c059b3f 100644 --- a/src/main/java/ml/duncte123/skybot/BotListener.java +++ b/src/main/java/ml/duncte123/skybot/BotListener.java @@ -384,12 +384,12 @@ public void onGuildVoiceMove(GuildVoiceMoveEvent event) { if(LavalinkManager.ins.isConnected(event.getGuild())) { //if (!event.getVoiceState().getMember().getUser().getId().equals(event.getJDA().getSelfUser().getId())) { if (!event.getChannelLeft().getId().equals( LavalinkManager.ins.getConnectedChannel(event.getGuild()).getId() )) { - return; + channelCheckThing(event.getGuild(), event.getChannelLeft()); + //return; } //channelCheckThing(event.getGuild(), event.getChannelLeft()); - if (event.getGuild().getAudioManager().getConnectedChannel() != null && - !event.getChannelJoined().getId().equals( LavalinkManager.ins.getConnectedChannel(event.getGuild()).getId() )) { + if (!event.getChannelJoined().getId().equals( LavalinkManager.ins.getConnectedChannel(event.getGuild()).getId() )) { return; //System.out.println("Self (this might be buggy)"); }