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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Mar 26, 2018 in Hipchat Data Center

Migration of Hipchat server to Data Center - a retrospective

...able to use the clients After a bunch of testing (rooms, memberships, check for private message history, and most importantly - the custom emoticons!) nearly everything was looking as we needed, however...

454 views 2 6
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