$usersInChannel
Returns a list of users in given text or voice channel.
Usage
$usersInChannel[channelID;type;separator]
- channelID - (Optional) default value:
$channelID
. The ID of a channel you want to return list of users from. - type - (Optional) default value:
username
. Can beid
,username
,mention
orcount
. - separator - (Optional) default value:
,
. The separator used for creating list of users.
Example
Using $usersInChannel
How to use $usersInChannel
Cache
This function works on the bot's cache to find members. If the user is not cached, the function will not find them. User will be cached after they trigger any command from this bot, but eventually they will get deleted.
To have all members cached, you will need Tier 5 Bot.