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

App::KGB::Client::RelayMsg - Simple message relay KGB client

Constructor

new()
       Standard constructor. Accepts no arguments.

Description

App::KGB::Client::RelayMsg passes a simple text message to the bot to put on IRC. It is useful for
       notifications not connected with a source repository like bug submission etc.

       See also kgb-client(1)'s "--relay-msg" option.

Fields

relay_messagemessage (mandatory)
           The message to relay.

Methods

       process
           Overrides App::KGB::Client's process method.

perl v5.40.0                                       2024-09-20                    App::KGB::Client::RelayMsg(3pm)

Name

       App::KGB::Client::RelayMsg - Simple message relay KGB client

Synopsis

           use App::KGB::Client::RelayMsg;
           my $client = App::KGB::Client::RelayMsg->new(
               # common App::KGB::Client parameters
               repo_id => 'my-repo',
               ...
               relay_message => "It's alive!",
           );
           $client->process;

See Also