$status
Required Tier 3+Returns the status of a user. Can be online, offline, idle or dnd.
Usage
$status[userID]
- userID - (Optional) default value:
$authorID. The ID of user to return the status from.
Example
Using $status
How to use $status
Important Note
This function requires the Presence Intent to be enabled. You can change that in Discord Developer Portal under your Bot settings.
Related functions: $membersWithStatus
Function difficulty: Easy
Tags: status member status online offline dnd
Function Cooldown
This function has built-in cooldown. Why? Read more about cooldowns here.
- Cooldown: 4 minutes
- Tracked By: User
- Type:
userupdate
Functions with the same type share cooldowns based on the same Tracked By value.
