Join Channel with different Client

How can I say that another Bot is joining the Channel and not the main Bot? (I have the token)
8 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Fyphen
Fyphen2y ago
Detect the bot is joining voice channel.
duck
duck2y ago
the client that joins the voice channel is determined by the adapter creator <Guild>.voiceAdapterCreator will be specific to the client that instantiated the Guild object if you're running multiple clients from the same process you should also distinguish between connections by specifying the group option in joinVoiceChannel
RichtigJoJo
RichtigJoJoOP2y ago
how to use it?
duck
duck2y ago
you just pass a string to differentiate, e.g. each client's id then you can use the same group in getVoiceConnection
RichtigJoJo
RichtigJoJoOP2y ago
Can you give me a example?
duck
duck2y ago
group: "foo"? I'm not really sure what sort of example you're looking for
RichtigJoJo
RichtigJoJoOP2y ago
I want an example that shows me how to use groups
Want results from more Discord servers?
Add your server