$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});