I would like to listen for all messages like you can do with @slack/bolt; I also can't figure out how to get the message specific context, but I may just be reading the doc wrong.
app.message(async ({ message }) => {
// check if the message is from a bot
if (message.subtype === undefined && message.user) {
await onboardingStep(message.user, app.client, true);
}
});
I would like to listen for all messages like you can do with @slack/bolt; I also can't figure out how to get the message specific context, but I may just be reading the doc wrong.