MATSUNO★Tokuhiro > LiBot-v0.0.3 > libot.pl

Download:
LiBot-v0.0.3.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

libot.pl - The bot framework

SYNOPSIS ^

    % libot.pl -c config.pl

DESCRIPTION ^

LiBot is a pluggable lingr bot framework.

You can create your own plugins very easily.

CONFIGURATION ^

Here is a example configuration file for lingr bot:

    +{
        providers => [
            'Lingr' => {
                host => '127.0.0.1',
                port => 1199,
            },
        ],
        'handlers' => [
            Karma => {
                path => 'karma.bdb',
            },
            'LLEval',
            'IkachanForwarder' => {
                url => 'http://127.0.0.1:4979',
                channel => '#hiratara',
            },
            'PerldocJP',
            'URLFetcher',
            'CoreList',
        ],
    };

And you can use IRC!

    +{
        providers => [
            'IRC' => {
                server => 'chat.freenode.net',
                port => 6667,
            },
        ],
        'handlers' => [
            Karma => {
                path => 'karma.bdb',
            },
            'LLEval',
            'IkachanForwarder' => {
                url => 'http://127.0.0.1:4979',
                channel => '#hiratara',
            },
            'PerldocJP',
            'URLFetcher',
            'CoreList',
        ],
    };
syntax highlighting: