1App::KGB::Client::RelayUMssegr(3C)ontributed Perl DocumeAnptpa:t:iKoGnB::Client::RelayMsg(3)
2
3
4
6 App::KGB::Client::RelayMsg - Simple message relay KGB client
7
9 use App::KGB::Client::RelayMsg;
10 my $client = App::KGB::Client::RelayMsg->new(
11 # common App::KGB::Client parameters
12 repo_id => 'my-repo',
13 ...
14 relay_message => "It's alive!",
15 );
16 $client->process;
17
19 App::KGB::Client::RelayMsg passes a simple text message to the bot to
20 put on IRC. It is useful for notifications not connected with a source
21 repository like bug submission etc.
22
23 See also kgb-client(1)'s "--relay-msg" option.
24
26 new ()
27 Standard constructor. Accepts no arguments.
28
30 relay_message message (mandatory)
31 The message to relay.
32
34 process
35 Overrides App::KGB::Client's process method.
36
37
38
39perl v5.28.2 2019-05-27 App::KGB::Client::RelayMsg(3)