Functionalities
Other
$status
Returns the presence status of a user with their ID.

FUNCTION USAGE

  • $status
  • $status[]
  • $status[userID]

Properties:

[] - Leave brackets empty to return the presence status of the command author. Same as no brackets. userID - The ID of the user to return to status of.

Outputs:

  • online
  • invisible
  • idle
  • dnd
Example 1: Returns the presence status of the command author.
1
bot.Command({
2
name: "status",
3
code: `
4
Here's your presence status: $status
5
`
6
})
Copied!
Example 2: Returns the presence status of the specific user.
1
bot.Command({
2
name: "status",
3
code: `
4
Here's your presence status: $status[$findUser[$message[]]]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link