From: Andreas Scherbaum Date: Fri, 25 May 2012 21:55:12 +0000 (+0200) Subject: - add help for 'search' X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=cd585b97497d103320a56f3887c4529b3d9209cd;p=docbot.git - add help for 'search' --- diff --git a/docbot.pl b/docbot.pl index 6e6652e..49bc83c 100755 --- a/docbot.pl +++ b/docbot.pl @@ -2126,6 +2126,13 @@ sub handle_command_help { } + if ($string eq 'search') { + my $answer = "Start a search with two question marks, followed by the search term"; + # translate message + $answer = translate_text_for_channel($replyto, 'help_general_line_2', $answer); + $irc->yield( privmsg => $replyto, $answer ); + } + return ''; }