add reply for when user uses .seen on the bot
This commit is contained in:
parent
f6207959ee
commit
fe070309f8
|
@ -23,9 +23,12 @@ def seeninput(paraml, input=None, db=None, bot=None):
|
||||||
|
|
||||||
|
|
||||||
@hook.command
|
@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"
|
".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():
|
if inp.lower() == nick.lower():
|
||||||
return "Have you looked in a mirror lately?"
|
return "Have you looked in a mirror lately?"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue