From 021ecd3d52f31b037f76a589a4be71e7f09ae27a Mon Sep 17 00:00:00 2001 From: "FunnyMan3595 (Charlie Nolan)" Date: Wed, 13 Feb 2008 11:40:22 -0600 Subject: [PATCH] Better dummy for $weather. --- hal.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hal.py b/hal.py index 2f6379f..a28a6e1 100755 --- a/hal.py +++ b/hal.py @@ -265,7 +265,10 @@ def wp(who, where, args): commands['wp'] = (Perms.voice, wp) commands['wikipedia'] = (Perms.voice, wp) -commands['weather'] = (Perms.voice, lambda *args: None) +def weather(who, where, args): + reply(who, where, "I'm sorry, troggie isn't here, and I don't know how to do that.") +weather = troggie(weather) +commands['weather'] = (Perms.voice, weather) weak_mask_re = re.compile(".+!.+@.+") -- 2.11.4.GIT