$alternativeParsing
Dangerous
Experiment
Changes the way how triggers are read.
Syntax
$alternativeParsing
This function was added at the end of 2019 as an experiment, and it can be unstable and break your commands. You should not use
$alternativeParsingwhen making your bot.
Example
-
Create two commands and set the trigger
hellofor one command andhelloworldfor the other. -
Add the
$alternativeParsingfunction to the command code with thehellotrigger.Code with trigger
hello:$nomention $alternativeParsing $description["hello"]Code with trigger
helloworld:$nomention $description["helloworld"] -
Execute commands.
hello "hello" helloworld "helloworld" - Without
$alternativeParsing:hello “hello” helloworld “helloworld” “hello”
- Without