Skip to content

$userExists

$userExists will check if a given user exists.

Usage

$userExists[userID?]

Parameters

FieldTypeDescriptionRequired
userID?numberThe user ID.false

Example(s)

This will return either true or false depending on if the user exists, in this example below it will return true as you exist as Discord user:

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