projects
/
docbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d346f47
)
- add help for 'search'
author
Andreas Scherbaum
<
[email protected]
>
Fri, 25 May 2012 21:55:12 +0000
(23:55 +0200)
committer
Andreas Scherbaum
<
[email protected]
>
Fri, 25 May 2012 21:55:12 +0000
(23:55 +0200)
docbot.pl
patch
|
blob
|
blame
|
history
diff --git
a/docbot.pl
b/docbot.pl
index 6e6652eeedd1bf5fc00ce319b6eadcdad4305918..49bc83c5a3a16b45ca4555f3372d87e12c64e6e7 100755
(executable)
--- 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 '';
}