Bot::Cobalt::Plugin::Bitly - Bot::Cobalt plugin for auto-shortening URL via Bit.ly
version 0.001
## In plugins.conf Bitly: Module: Bot::Cobalt::Plugin::Bitly Opts: min_length: <minumum URL length> # default 160 creds: user_name: <bit.ly user name> user_api_key: <bit.ly user api key> end_user_name: <bit.ly end-user name> # optional end_user_api_key: <bit.ly end-user api key> # optional domain: <domain name to use> # optional
A Bot::Cobalt plugin.
Automatically takes any URLs in a given message, and if they are too long, shortens them via the bit.ly webservice (WebService::Bitly), and then broadcasts the newly shortened URL to the channel.
WebService::Bitly
Scott Miller <scott.j.miller@gmail.com>
This software is copyright (c) 2014 by Scott Miller.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Bot::Cobalt::Plugin::Bitly, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bot::Cobalt::Plugin::Bitly
CPAN shell
perl -MCPAN -e shell install Bot::Cobalt::Plugin::Bitly
For more information on module installation, please visit the detailed CPAN module installation guide.