$isBot
Checks whether the user is a bot.
Usage
$isBot[userID]Param
Description
Type
Required
Examples
bot.commands.add({
type: "basicCommand",
name: "example",
code: `$isBot[$authorID]` //Returns whether or not the author is a bot
})bot.commands.add({
type: "basicCommand",
name: "example",
code: `$isBot[$mentioned[1]]` //Returns whether or not the mentioned user is a bot
})Last updated
Was this helpful?