$displayName

Returns the display name of a specified user. This is the name that's shown for the user in a specific server, which might be different from their global name.

Usage

$displayName[userID]
  1. userID - (Optional) default value: $authorID. The user ID of the user you want to return display name from.

Example

Using $displayName

How to return display name from author

User06/01/2026
!!exec $displayName
Custom Command Bot 06/01/2026
User
Function difficulty: Easy
Tags: name username nickname