Skip to content

$userStatus

$userStatus will return a user’s presence.

Usage

$userStatus[guildId?;userId?]

Parameters

FieldTypeDescriptionRequired
guildId?numberThe guild ID of which guild you want to retrieve the status of.false
userId?numberThe 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:

1
client.command({
2
name: "userStatus",
3
code: `
4
$userStatus[$guildID;$authorID]
5
`
6
});