Skip to content

$userID

$userID will return a given user’s ID.

Usage

$userID[user]

Parameters

FieldTypeDescriptionRequired
userstring, numberThe name of the user who you want the user ID to be returned of.true

Example(s)

This will return your user ID:

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