Skip to content

$memberDisplayName

$memberDisplayName will return the display name of a given user.

Usage

$memberDisplayName[guildID?;userID?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe ID of the guild.false
userID?numberThe ID of the user.false

Example(s)

This will return your display name, if you have none then it’ll return your Discord username:

1
client.command({
2
name: "memberDisplayName",
3
code: `
4
$memberDisplayName[$guildID;$authorID]
5
`
6
});