The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bot::Cobalt::Plugin::Urban - Bot::Cobalt plugin for looking up urban dictionary terms

VERSION

version 0.001

SYNOPSIS

   ## In plugins.conf
   Urban:
      Module: Bot::Cobalt::Plugin::Urban      

DESCRIPTION

A Bot::Cobalt plugin.

This plugin provides commands to look up terms in Urban Dictionary via their API.

It has two commands:

!urban <term> <entry #>

This command retrieves the term and, if provided the specific entry number.

   #mychannel> !urban perl 4
   < mybot> [4/9] perl: random line noise that does something useful most of the time
!urban_random

Retrieves a random urban dictionary entry.

LIMITATIONS

It appears that the Urban Dictonary API currently only provides 10 entries for a given term, and does not provide a mechanism to retrieve additional ones.

AUTHOR

Scott Miller <scott.j.miller@gmail.com>

COPYRIGHT AND LICENSE

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.