DOKK / manpages / debian 10 / kgb-client / App::KGB::Client::RelayMsg.3pm.en
App::KGB::Client::RelayMsg(3pm) User Contributed Perl Documentation App::KGB::Client::RelayMsg(3pm)

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.
2019-01-03 perl v5.28.1