From: Marius Gavrilescu Date: Thu, 24 Mar 2016 12:25:54 +0000 (+0200) Subject: Improve CTCP responses X-Git-Tag: 1.000~4 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=d6102de2038794abd9388080c23d278632ef52e1;p=app-statsbot.git Improve CTCP responses --- diff --git a/lib/App/Statsbot.pm b/lib/App/Statsbot.pm index eaf71a3..902f9d3 100644 --- a/lib/App/Statsbot.pm +++ b/lib/App/Statsbot.pm @@ -95,6 +95,8 @@ sub bot_start{ ## no critic (RequireArgUnpacking) $_[KERNEL]->delay(tick => $TICK); $irc->plugin_add(CTCP => POE::Component::IRC::Plugin::CTCP->new( + version => "Statsbot/$VERSION", + source => 'https://metacpan.org/pod/App::Statsbot', userinfo => 'A bot which keeps logs and computes channel statistics', clientinfo => 'PING VERSION CLIENTINFO USERINFO SOURCE', ));