Triggering commands based on pattern matching

Asked Feb 19, 2021·1 reply·Last activity 5 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Is it possible to call commands based on a specific phrase being mentioned within a chat message as opposed to the traditional way of calling a command which only checks the start of the message?

For example, I would like to call a command when this message is sent:
"I would like to increment the counter"
because the message contains the phrase "increment the counter"

1 reply

This isn't possible. A command is designed to only trigger upon a message having its name as the first word.