From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Hubot::Robot

VERSION

version 0.2.8

SYNOPSIS

# Hubot::Robot has a CLI. named `hubot`
$ perldoc hubot
# make sure `hubot-scripts.json` is exist in current working directory
use Cwd 'cwd';
my $robot = Hubot::Robot->new({
adapter => 'shell',
name => 'hubot'
});
$robot->adapter->on(
'connected',
sub {
my $cwd = cwd();
my $scriptsFile = "$cwd/hubot-scripts.json";
if (-f $scriptsFile) {
my $json = read_file($scriptsFile);
my $scripts = decode_json($json);
$robot->loadHubotScripts($scripts);
}
}
);
$robot->run;

DESCRIPTION

A customizable, kegerator-powered life embetterment robot.

The original hubot description is..

"This is a version of GitHub's Campfire bot, hubot. He's pretty cool."

this is hubot Perl port.

SEE ALSO

http://hubot.github.com/
https://github.com/github/hubot
hubot

AUTHOR

Hyungsuk Hong <hshong@perl.kr>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Hyungsuk Hong.

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