$usersInChannel
returns users in a voice channel or normal channel
Usage:
$usersInChannel[channelID;id/mention/username/count (optional);separator (optional)]
Related Functions
$usersWithRole, to check if the user has sInChannel
Warning
This data comes from the cache, not the api, therefore it may not be precise unless all the guild members are cached (which only in tier 5).