How do you embed images in your responses from botler?

I'm digging this HipChat bot, and turned a bunch of folks onto using it. However, I see a pretty epic service within Botler in your readme to show a How I Met Your Mother salute gif for terms like general idea, major deal, etc... but

a.) can't figure out how to cleanly embed image/gif without it spitting out the link and then showing the gif

b.) the capture text isn't working as I'd expect

Pasting exported service here and hopefully you can point out my mistakes:
{"name":"himym","event":"room_message","pattern":"[Gg]eneral [Ii]dea|[Mm]ajor [Dd]eal","reply":"\n\n*Salute*\n\n{{$1}}","replyHtml":false,"notify":false,"enable":true}

1 answer

1 accepted

I figured out how to embed the image- just treat it like html:

<img alt="Embedded Image" width="300" height="220" src=""/>

Close enough:

{"name":"himym","event":"room_message","pattern":"^general(.*)?","reply":"<img alt=\"Embedded Image\" width=\"350\" height=\"250\" src=\"\"/>\n<br>\n<br>\n<b>*Salute*</b>\n<br>\n<b>General {{$1}}</b>","replyHtml":true,"notify":false,"enable":true}

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Published Oct 07, 2017 in Hipchat

Bringing Structure to your HipChat Instance

...have mention name FirstnameLastname. Fe.: @MaartenCautreels This certainly helps to know who is being mentioned in a conversation. Imagine your colleague sends the following message...

464 views 1 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot