From fe070309f8936b99c061af0f589db344ca86b502 Mon Sep 17 00:00:00 2001 From: Patrick Hurst Date: Mon, 20 Sep 2010 19:04:45 +0800 Subject: [PATCH] add reply for when user uses .seen on the bot --- plugins/seen.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/seen.py b/plugins/seen.py index 696b990..ca7a98a 100644 --- a/plugins/seen.py +++ b/plugins/seen.py @@ -23,9 +23,12 @@ def seeninput(paraml, input=None, db=None, bot=None): @hook.command -def seen(inp, nick='', chan='', db=None): +def seen(inp, nick='', chan='', db=None, input=None): ".seen -- Tell when a nickname was last in active in irc" + if input.conn.nick.lower() == inp.lower(): # user is looking for us, being a smartass + return "You need to get your eyes checked." + if inp.lower() == nick.lower(): return "Have you looked in a mirror lately?"