Fixed some stuff
This commit is contained in:
parent
2ee00dde5a
commit
2b45cd2b9b
3 changed files with 4 additions and 4 deletions
|
@ -51,7 +51,7 @@ def tellinput(paraml, input=None, db=None, bot=None):
|
||||||
|
|
||||||
@hook.command(autohelp=False)
|
@hook.command(autohelp=False)
|
||||||
def showtells(inp, nick='', chan='', notice=None, db=None):
|
def showtells(inp, nick='', chan='', notice=None, db=None):
|
||||||
".showtells -- view all pending tell messages (sent in PM)."
|
".showtells -- view all pending tell messages (sent in a notice)."
|
||||||
|
|
||||||
db_init(db)
|
db_init(db)
|
||||||
|
|
||||||
|
@ -88,10 +88,10 @@ def tell(inp, nick='', chan='', db=None, input=None, notice=None):
|
||||||
chan = 'a pm'
|
chan = 'a pm'
|
||||||
|
|
||||||
if user_to == user_from.lower():
|
if user_to == user_from.lower():
|
||||||
notice("No. I'm not doing that. -.-")
|
notice("Nope.")
|
||||||
return
|
return
|
||||||
|
|
||||||
if user_to.lower() == input.conn.nick.lower()":
|
if user_to.lower() == input.conn.nick.lower():
|
||||||
# user is looking for us, being a smartass
|
# user is looking for us, being a smartass
|
||||||
notice("Thanks for the message, " + user_from + "!")
|
notice("Thanks for the message, " + user_from + "!")
|
||||||
return
|
return
|
||||||
|
@ -116,4 +116,4 @@ def tell(inp, nick='', chan='', db=None, input=None, notice=None):
|
||||||
notice("Message has already been queued.")
|
notice("Message has already been queued.")
|
||||||
return
|
return
|
||||||
|
|
||||||
notice("I'll pass that along.")
|
notice("Your message has been sent!")
|
||||||
|
|
0
run.sh
0
run.sh
Reference in a new issue