$argsCheck

Checks that the message has the args specified.

Usage:

$argsCheck[condition;error message]

Example:

bot.command({
    name: "example1",
    code: `You have more than 2 args.
    $argsCheck[>2;Your args is less than 2.]`
});

Last updated

Was this helpful?