mostr-zulip-bot/zulip_bots/zulip_bots/bots/link_shortener/doc.md
Skunk 29e22c2c0a bots: Create Link Shortener Bot.
Create Link Shortener Bot using the goo.gl Link Shortening API.

Link Shortener Bot can be mentioned in a conversation, and it will
respond with shortened, goo.gl links for every URL in the message.

For example,

 > @link_shortener_bot @johnsmith Check out this file:
 > https://github.com/zulip/python-zulip-api/blob/master/zulip_bots/

and Link Shortener Bot would respond

 > https://github.com/zulip/python-zulip-api/blob/master/zulip_bots/:
 > https://goo.gl/Mt5z3c

In order to use Link Shortener Bot, an API key for goo.gl must be set
in `link_shortener.conf` in the `link_shortener` folder.
2017-12-05 06:08:30 -08:00

570 B

Link Shortener Bot

Link Shortener Bot is a Zulip bot that will shorten URLs ("links") in a conversation. It uses the goo.gl URL shortener API to shorten its links.

Links can be anywhere in the message, for example,

@Link Shortener Bot @Joe Smith See https://github.com/zulip/python-zulip-api/tree/master/zulip_bots/zulip_bots/bots for a list of all Zulip bots.

and LS Bot would respond

https://github.com/zulip/python-zulip-api/tree/master/zulip_bots/zulip_bots/bots: https://goo.gl/NjLZZH