-
Is there anyways to check what channel id that bot is connecting to or check is user is connecting to the same voice channel as the bot Im not sure whether |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I'm honestly not sure what you're asking here, but there is no way around the voice states intent for music bots. You should also discuss this with your discord lib devs instead |
Beta Was this translation helpful? Give feedback.
-
if you're using JDA: Anything that requires checking about what channel a user is should be part of the discord lib you are using. The lavalink client only helps interacting with lavalink, and lavalink doesn't know what users are in what voice channel. |
Beta Was this translation helpful? Give feedback.
if you're using JDA:
guild.getSelfMember().getVoiceState()
will give you the channel that you are currently connected to.Anything that requires checking about what channel a user is should be part of the discord lib you are using. The lavalink client only helps interacting with lavalink, and lavalink doesn't know what users are in what voice channel.