Skip to content

Is there anywhere to check what channel id that bot is connecting? #10

Closed Answered by duncte123
zvyap asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@zvyap
Comment options

Comment options

You must be logged in to vote
3 replies
@zvyap
Comment options

@duncte123
Comment options

@zvyap
Comment options

Answer selected by zvyap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants