Hyungsuk Hong > Hubot-0.2.1 > Hubot::Adapter::Irc

Download:
Hubot-0.2.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.2.1   Source   Latest Release: Hubot-0.2.6

NAME ^

Hubot::Adapter::Irc - IRC adapter for Hubot

SYNOPSIS ^

    $ export HUBOT_IRC_SERVER='irc.myserver.com'
    $ export HUBOT_IRC_ROOMS='#mychannel'
    $ export HUBOT_IRC_ENABLE_SSL=1    # use SSL connection?
    $ hubot -a irc

DESCRIPTION ^

IRC is a fairly old protocol for Internet chat.

CONFIGURATION ^

REQUIRED

HUBOT_IRC_SERVER

This is the full hostname or IP address of the IRC server you want your hubot to connect to. Make a note of it.

HUBOT_IRC_ROOMS

This is a comma separated list of the IRC channels you want your hubot to join. They must include the #. Make a note of them.

OPTIONAL

HUBOT_IRC_NICK

This is the optional nick you want your hubot to join with. If omitted it will default to the name of your hubot.

HUBOT_IRC_PORT

This is the optional port of the IRC server you want your hubot to connect to. If omitted the default is 6667. Make a note of it if required.

HUBOT_IRC_USER

This is the optional username of the IRC server you want your hubot to connect to.

HUBOT_IRC_PASSWORD

This is the optional password of the IRC server you want your hubot to connect to. If the IRC server doesn't require a password, this can be omitted. Make a note of it if required.

HUBOT_IRC_REALNAME

Your realname on IRC server.

HUBOT_IRC_ENABLE_SSL

using AnyEvent::IRC::Connection enable_ssl at connect.

requires Net::SSLeay.

SEE ALSO ^

https://github.com/github/hubot/wiki/Adapter:-IRC

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.

syntax highlighting: