$userExists
$userExists
will check if a given user exists.
Usage
$userExists[userID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
userID? | number | The 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:
1client.command({2 name: "userExists",3 code: `4 $userExists[$authorID]5 `6});