add reply for when user uses .seen on the bot

This commit is contained in:
Patrick Hurst 2010-09-20 19:04:45 +08:00 committed by rmmh
parent f6207959ee
commit fe070309f8
1 changed files with 4 additions and 1 deletions

View File

@ -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 <nick> -- 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?"