NAME

Bot::Backbone::Service::OFun::Insult - Ask the bot to insult your friends, enemies, and applications

VERSION

version 0.142230

SYNOPSIS

# in your bot config
service insult => (
    service  => 'OFun::Insult',
    language => 'pirate',
);

dispatcher chatroom => as {
    redispatch_to 'insult';
};

# in chat
alice> !insult bob
bot> bob is a scurvy potvaliant

DESCRIPTION

Sometimes it's best to relieve stress by calling your friends and coworkers names. However, doing so directly is awkward and might lead to one of those meetings with the manager where words like "disappointment" and "failed expectations" might be uttered.

So, why not have a bot that can insult them for you instead? Why that's a great idea, I'm glad you suggested it because here it is!

DISPATCHER

!insult

!insult person, place, or thing

The bot will provide an appropriate (or inappropriate) insult to the person, place, or thing given as an argument. The insult used depends entirely on the insult language used.

ATTRIBUTES

language

This bot service doesn't actually generate its insults. Instead, it relies upon Acme::Scurvy::Whoreson::BilgeRat to do that for us. That module doesn't generate its own insults directly either (seeing a pattern yet?). It depends on a backend. Those backends are called "languages" for some inexplicable reason.

The default is "pirate" which ships with the Acme module itself, but you can install other ones or, better, write your own using your organization's own glossary of insults. See that module for directions on how to do that.

insult_generator

This is the actual reference to the Acme::Scurvy::Whoreson::BilgeRat that we use to generate the insults. This is created automatically.

METHODS

insult_the_thing

This implements the the !insult command.

initialize

No op.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Qubling Software LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.