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":"http://i.giphy.com/jC2fYLDzGN53W.gif\n\n*Salute*\n\n{{$1}}","replyHtml":false,"notify":false,"enable":true}

1 answer

1 accepted

This widget could not be displayed.

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

<img alt="Embedded Image" width="300" height="220" src="http://i.giphy.com/jC2fYLDzGN53W.gif"/>

Close enough:

{"name":"himym","event":"room_message","pattern":"^general(.*)?","reply":"<img alt=\"Embedded Image\" width=\"350\" height=\"250\" src=\"http://i.giphy.com/jC2fYLDzGN53W.gif\"/>\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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Aug 10, 2018 in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

240 views 1 9
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