Permalink
Browse files

Changed formatting and fixed help command for lunch

  • Loading branch information...
1 parent 877c29d commit 9ce26c1e9de4f6d38065787cad916366fe49763d @limed committed Aug 9, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 commands/lunch
  2. +1 −1 hooks/msg/derp
View
@@ -2,7 +2,7 @@
##HACKABOT_HELP##
# Recommends a place you should go.
-# __NAME__ [ add <place> | noun <item> | adj <description> ]
+# !lunch [ add <place> | noun <item> | adj <description> ]
##HACKABOT_HELP##
# This was based on Scott's lunchalizer irssi script/bot
@@ -12,7 +12,7 @@ use strict;
use File::Basename;
use Hackabot::Client;
-$0 = basename($0);
+$0 = basename($0);
sub make_lunch {
my ($hbc, $dbh, $sth, @row, $lunch, $time);
View
@@ -10,4 +10,4 @@ msg = hbc.readline()
nick = hbc.sent_by()
if re.search(r'^herp', msg, re.IGNORECASE):
- print "send derp"
+ print "send %s: derp" %(nick)

0 comments on commit 9ce26c1

Please sign in to comment.