Skip to content

$isBot

$isBot will check if the given user is a bot.

Usage

$isBot[userID?]

Parameters

FieldTypeDescriptionRequired
userID?numberUser id to check if they’re a bot.false

Example(s)

This will return true as your bot is, obviously, a bot:

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