$membersWithStatus
Returns a list of member IDs who have specified status within the server separated by comma.
Usage
$membersWithStatus[Status1;Status2;...]
- Status N - You can add multiple statuses. Can be
online
,idle
,dnd
(Do Not Disturb),offline
(Includes invisible users),streaming
(only valid for activities),mobile
(only valid for platforms),desktop
(only valid for platforms),web
(only valid for platforms)
Example
Single status in $membersWithStatus
How to use $membersWithStatus with one status specified
Multiple statuses in $membersWithStatus
How to use $membersWithStatus with multiple statuses specified
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.