Functionalities
Other
$lastArg
Returns the very last argument in the message.

FUNCTION USAGE

  • $lastArg

Example:

1
bot.Command({
2
name: "test",
3
code: `
4
TESTING
5
$onlyIf[$message[8]==$lastArg;message must be exactly 8 arguments]
6
`
7
})
Copied!
Last modified 4mo ago
Copy link