Given a regex used for an intent, add anchors to it if missing. Additionally, wraps the new anchors in match groups along with the original intent for access later.
Create a HandleCommand instance with the appropriate metadata wrapping the given function
Parse command handler intent. If the incoming intent is a RegExp convert it to a string pattern. Otherwise, pass existing intent through.
Generated using TypeDoc
Handle the given command. Parameters will have been set on a fresh parameters instance before invocation
context from which GraphQL client can be obtained, messages can be sent etc.
a Promise of a HandlerResult, containing a status code, or anything else representing success.