$usersInChannel
$usersInChannel
will return all users who are connected to the specified voice channel.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID | number | Voice Channel ID. | true |
option? | string | How to return the users 1. id (default) 2. user - mentions the users | false |
sep? | string | Separator to separate multiple returned values. | false |
Example(s)
This will return the users connected to a voice channel: