Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed formatting and fixed help command for lunch

  • Loading branch information...
commit 9ce26c1e9de4f6d38065787cad916366fe49763d 1 parent 877c29d
@limed authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 commands/lunch
  2. +1 −1  hooks/msg/derp
View
4 commands/lunch
@@ -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
2  hooks/msg/derp
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.