route messages from other bots

11 views
Skip to first unread message

da...@octo.com

unread,
Jan 6, 2016, 2:39:45 AM1/6/16
to Lita
Hi all,

I'd like to route messages from another bot (IFTTT in that case).

so %r{I took a(n)? [coke|sprite|orange]}i is working when I type "I took a sprite" but when the IFTTT bot writes "I took a sprite", it doesn't.

I need IFTTT because it is connected to flic buttons (flic.io) and I cannot change this behavior.

What do I miss?

Thank you for your help
David

Alex Soto

unread,
Jan 6, 2016, 11:58:19 AM1/6/16
to David Alia, Lita
Have you inspected what is the message that's coming through to the bot?  Maybe it's sending a rich text message or has some other formatting that your regex doesn't match.

Alex


--
You received this message because you are subscribed to the Google Groups "Lita" group.
To unsubscribe from this group and stop receiving emails from it, send an email to litaio+un...@googlegroups.com.
To post to this group, send email to lit...@googlegroups.com.
Visit this group at https://groups.google.com/group/litaio.
To view this discussion on the web visit https://groups.google.com/d/msgid/litaio/88cb118b-1b7e-420f-b811-92e1993b9a29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

David Alia

unread,
Jan 6, 2016, 4:20:02 PM1/6/16
to Alex Soto, Lita

Thank you Alex, how can I inspect it? In the html view of slack?

Alex Soto

unread,
Jan 6, 2016, 4:29:38 PM1/6/16
to David Alia, Lita
In the past I've just set breakpoints in the lita code where the message comes in before it's dispatched.  I don't have specific steps, sorry.
Reply all
Reply to author
Forward
0 new messages