$isBot
$isBot will check if the given user is a bot.
Usage
$isBot[userID?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| userID? | number | User id to check if they’re a bot. | false |
Example(s)
This will return true as your bot is, obviously, a bot:
1client.command({2 name: "isBot",3 code: `4 $isBot[$clientID]5 `6});