Skip to content

$userNickname

$userNickname will return a user’s nickname.

Usage

$userNickname[guildID?;userID?;returnUser?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe ID of the guild.false
userID?numberThe ID of the user.false
returnUser?booleanReturn the username
1. true
2. false (default)
false

Example(s)

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

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