url: Add a config option to auto-shorten URLs.
authorDavid Gadling <dave@toasterwaffles.com>
Sat, 13 Mar 2010 05:53:06 +0000 (21:53 -0800)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 1 Jul 2010 12:48:35 +0000 (14:48 +0200)
commit5a291e8e4ae479cfd4a316e3b073bf4715bcd660
treeda6b9d7bfd9937e9178a9b3e070598e90e497b44
parent563bab3564a18e0aab567740170fceb12afd0966
url: Add a config option to auto-shorten URLs.
shortenurls: Add a favorite service config option.

Auto-shortening URLs is mutually exclusive with showing information about them as the output would be very confusing.

The favorite shortenting service option only really applies when other plugins call shortenurls.shorten, so they don't have to hard-code which shortening service to use.
data/rbot/plugins/shortenurls.rb
data/rbot/plugins/url.rb