Functionalities
Other
$nickname
Returns the nickname of the command author or the nickname of the supplied user ID. If no nickname is found, function will return the username instead.

FUNCTION USAGE

  • $nickname
  • $nickname[]
  • $nickname[userID]
  • $nickname[userID;guildID]

Properties:

[] - Leave brackets empty to return the command authors nickname. Same as no brackets. userID - Returns the nickname of the supplied user ID. guildID - Searches specific guilds for the user and returns their nickname (if any).

Example 1: Returns the nickname of the command author.

1
bot.Command({
2
name: "nick",
3
code: `
4
$nickname
5
`
6
})
Copied!

Example 2: Returns the nickname of the supplied user ID.

1
bot.Command({
2
name: "nick",
3
code: `
4
$nickname[5397459387459384533]
5
`
6
})
Copied!

Example
Usages
Responses
1
?getnick
Your nickname is: "if you have one it will show xD"
2
?getnick @lews
D | Jeremy
Last modified 4mo ago
Copy link
Contents
Properties: