$userDisplayName
$userDisplayName
will return the display name of a given user.
Usage
$userDisplayName[userID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID? | number | The ID of the guild. | false |
Example(s)
This will return your display name, if you have none then it’ll return your Discord username:
1client.command({2 name: "userDisplayName",3 code: `4 $userDisplayName[$authorID]5 `6});