logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

POE::Component::IRC::Plugin::ISupport - A PoCo-IRC plugin that handles server capabilities

Author

       Jeff "japhy" Pinyan, japhy@perlmonk.org

Description

       This handles the "irc_005" messages that come from the server.  They define the capabilities support by
       the server.

Input

       This module handles the following PoCo-IRC signals:

   "irc_005"(RPL_ISUPPORTorRPL_PROTOCTL)
       Denotes the capabilities of the server.

   "all"
       Once the next signal is received that is greater than "irc_005", it emits an "irc_isupport" signal.

Methods

"new"
       Takes no arguments.

       Returns a plugin object suitable for feeding to POE::Component::IRC's "plugin_add" method.

   "isupport"
       Takes one argument. the server capability to query. Returns a false value on failure or a value
       representing the applicable capability. A full list of capabilities is available at
       <http://www.irc.org/tech_docs/005.html>.

   "isupport_dump_keys"
       Takes no arguments, returns a list of the available server capabilities, which can be used with
       "isupport".

Name

       POE::Component::IRC::Plugin::ISupport - A PoCo-IRC plugin that handles server capabilities

Output Events

"irc_isupport"
       Emitted by: the first signal received after "irc_005"

       "ARG0" will be the plugin object itself for ease of use.

       This is emitted when the support report has finished.

See Also

       POE::Component::IRC

       POE::Component::IRC::Plugin

perl v5.32.1                                       2021-09-30              POE::Component...lugin::ISupport(3pm)

See Also