auths
objectreturn
or this.key = 'value'
, pass input data to your code viaparams
, and maintain state across executions with$checkpoint.async
(event, steps) => {
}
const regex = /#lightson|#lightsoff/
if (!steps.trigger.event.message.text.match(regex)) {
$end("Not a lights on / off message. Exiting")
}