Description
In the docs, there seems to only be support for a single pattern to match and then do an action:
app.message(':wave:', async ({ message, say}) => {
say(`Hello, <@${message.user}>`);
});
I'd like to be able to supply multiple patterns to match different ways of saying the same command without having to duplicate that block of code. See other chatbots like Alexa where you supply many invocations for a single command.
What type of issue is this? (place an x in one of the [ ])
Requirements (place an x in each of the [ ])
Description
In the docs, there seems to only be support for a single pattern to match and then do an action:
I'd like to be able to supply multiple patterns to match different ways of saying the same command without having to duplicate that block of code. See other chatbots like Alexa where you supply many invocations for a single command.
What type of issue is this? (place an
xin one of the[ ])Requirements (place an
xin each of the[ ])