Custom Command
FunctionsMember Functions

$status

Required Tier 3+

Returns the status of a user. Can be online, offline, idle or dnd.

Usage

$status[userID]
  1. userID - (Optional) default value: $authorID. The ID of user to return the status from.

Example

Using $status

How to use $status

!!exec $status

online

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.

On this page