Ubuntu Manpages

App::KGB::Client::RelayMsg

Simple message relay KGB client

    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;

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.

new ()

Standard constructor. Accepts no arguments.

The message to relay.

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