$userStatus
$userStatus
will return a user’s presence.
Usage
$userStatus[guildID?;userID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID? | number | The guild ID of which guild you want to retrieve the status of. | false |
userID? | number | The ID of the user you want to return the status of. | false |
Example(s)
This will either return idle
online
invisible
or dnd
depending on your current presence:
1client.command({2 name: "userStatus",3 code: `4 $userStatus[$guildID;$authorID]5 `6});