$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

User04/23/2025
!!exec $displayName
Custom Command Bot 04/23/2025
User
Function difficulty: Easy
Tags: name username nickname