v5.0.0
$usersInChannel
Returns the users that are connected to the current voice channel that the bot is in
This function returns the users that are in the given voice channel
1
$usersInChannel[voiceChannelID;id/mention/username (optional, default is username);separator (optional)]
Copied!
Using this without given parameters
1
bot.command({
2
name: "usersInChannel",
3
code: `
4
$usersInChannel[$voiceID]
5
`
6
})
7
// Will return: Kubaturi,Kuba's Music
Copied!
Using this with some parameters
1
bot.command({
2
name: "usersInChannel",
3
code: `
4
$usersInChannel[$voiceID;id;|] // Will return: 535566311942651924|631317899994333195
5
`
6
})
7
// Will return: 535566311942651924|631317899994333195
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub