FHIR Chat · robotic-assistance · committers

Stream: committers

Topic: robotic-assistance


view this post on Zulip Josh Mandel (May 02 2016 at 22:39):

To commemorate the greatest loss of functionality from our Skype days, let me introduce...
https://gist.github.com/jmandel/b7732bab9a5b678e75c09ad3c12163f3

view this post on Zulip Josh Mandel (May 02 2016 at 22:39):

!dice

view this post on Zulip FHIR Bot (May 02 2016 at 22:39):

3

view this post on Zulip Ewout Kramer (May 02 2016 at 22:40):

Welcome!

view this post on Zulip Ewout Kramer (May 02 2016 at 22:40):

!weather Boston

view this post on Zulip Ewout Kramer (May 02 2016 at 22:40):

;-)

view this post on Zulip Josh Mandel (May 02 2016 at 22:40):

Sorry, it's a specialist.

view this post on Zulip Josh Mandel (May 02 2016 at 22:41):

But the bot API is really easy ;-)

view this post on Zulip Ewout Kramer (May 02 2016 at 22:41):

I can see that in your gist, yes.

view this post on Zulip Ewout Kramer (May 02 2016 at 22:42):

This would do:

 if m['content'].startswith("!weather Boston"):
        client.send_message({
            "type": m['type'],
            "content": str('very rainy and cold'),
            "subject": m['subject'],
            "to": m['display_recipient'],
        })

view this post on Zulip Josh Mandel (May 02 2016 at 22:42):

OK, deployed.

view this post on Zulip Josh Mandel (May 02 2016 at 22:42):

!weather boston

view this post on Zulip Josh Mandel (May 02 2016 at 22:42):

Hmm, mayb enot.

view this post on Zulip Josh Mandel (May 02 2016 at 22:43):

!dice

view this post on Zulip FHIR Bot (May 02 2016 at 22:43):

4

view this post on Zulip Ewout Kramer (May 02 2016 at 22:43):

!weather Boston

view this post on Zulip FHIR Bot (May 02 2016 at 22:43):

very rainy and cold

view this post on Zulip Ewout Kramer (May 02 2016 at 22:43):

;-)

view this post on Zulip Josh Mandel (May 02 2016 at 22:43):

Oh, that was really slow.

view this post on Zulip Josh Mandel (May 02 2016 at 22:43):

Oh, capital B

view this post on Zulip Ewout Kramer (May 02 2016 at 22:43):

No, you used a non-capital

view this post on Zulip Ewout Kramer (May 02 2016 at 22:43):

y

view this post on Zulip Ewout Kramer (May 02 2016 at 22:43):

Well, currently it is actually dry in Boston. We'll grab a bike and go out for dinner ;-)

view this post on Zulip Josh Mandel (May 02 2016 at 22:43):

!weather BoStON, yo?

view this post on Zulip Josh Mandel (May 02 2016 at 22:44):

!weather BOStOn

view this post on Zulip FHIR Bot (May 02 2016 at 22:44):

very rainy and cold

view this post on Zulip Josh Mandel (May 02 2016 at 22:44):

Perfect.

view this post on Zulip Brian Postlethwaite (May 02 2016 at 23:17):

Thanks Josh! I was missing the fhirbot.

view this post on Zulip Grahame Grieve (May 03 2016 at 03:19):

so we going to add whether in Montreal?

view this post on Zulip Michael van der Zel (May 03 2016 at 18:16):

!dice

view this post on Zulip FHIR Bot (May 03 2016 at 18:16):

3

view this post on Zulip Michael van der Zel (May 03 2016 at 18:16):

!weather montreal


Last updated: Apr 12 2022 at 19:14 UTC