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•2y ago
Message Not Public
Sign In & Join Server To View
Detect the bot is joining voice channel.
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
how to use it?
you just pass a string to differentiate, e.g. each client's id
then you can use the same
group
in getVoiceConnection
Can you give me a example?
group: "foo"
?
I'm not really sure what sort of example you're looking forI want an example that shows me how to use groups