It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes
Answer 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 Sign up to answer
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

35,181 views 9 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you