Skip to content

$username

$username will return a user’s username.

Usage

$username[userID?]

Parameters

FieldTypeDescriptionRequired
userID?numberThe user ID.false

Example(s)

This will return your username:

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