$userNickname
$userNickname
will return a user’s nickname.
Usage
$userNickname[guildID?;userID?;returnUser?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID? | number | The ID of the guild. | false |
userID? | number | The ID of the user. | false |
returnUser? | boolean | Return 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:
1client.command({2 name: "userNickname",3 code: `4 $userNickname[$guildID;$authorID;true]5 `6});