You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way for commands trigger upon hearing just a sole word? Like if I want a function to trigger whenever the word 'up' is heard, whether it be 'move up', 'turn up', 'up up up', etc? Other than simply grabbing the potential possibilities and running a for-loop to check the entire array for an instance in the string?
The text was updated successfully, but these errors were encountered:
From the doc::
A named variable is a one word variable, that can fit anywhere in your command.
e.g. saying "calculate October stats" will call calculateStats('October');
'calculate :month stats': calculateStats,
Is there a way for commands trigger upon hearing just a sole word? Like if I want a function to trigger whenever the word 'up' is heard, whether it be 'move up', 'turn up', 'up up up', etc? Other than simply grabbing the potential possibilities and running a for-loop to check the entire array for an instance in the string?
The text was updated successfully, but these errors were encountered: