How could I reply differently according to the adapter currently used?
Here is the case:
I generate an image each time a specific sentence is sent to lita.
I'd like to:
- reply with the image to Slack (or equivalent) when Slack is the Adapter currently used
- save the image locally and reply "ok, done" when Shell is the Adapter currently used --> mainly for test purpose
I'm not sure I can do it with the templates.
How could I do then?
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 http://groups.google.com/group/litaio.
To view this discussion on the web visit https://groups.google.com/d/msgid/litaio/7e00b535-73d5-4ca8-83cf-2b5721d34f5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.