$status Premium Only

Displays the online status of a user.

Usage: $status[userID]

This function allows you to retrieve the current online status (e.g., Online, Offline, Idle, Do Not Disturb) of a specific user.


Example:

Member04/20/2025
!!exec $status[$authorID]
Custom Command Bot 04/20/2025
Online

In this example, the command !!exec $status[$authorID] will return the status of the user executing the command. If the user is online, the bot will respond with "Online".

WARNING

Important: This function requires the Presence Intent to be enabled in your bot's settings on the Discord Developer Portal. Without this enabled, the function will not work correctly.

TIP

Related Functions:

  • [$authorID](../Member/authorID.md): Retrieves the ID of the user who executed the command. You can use this to get the status of the command executor.
Difficulty: Easy
Tags: status member status online offline userID