use PMs for tells -- notices are easy to miss

This commit is contained in:
Ryan Hitchman 2014-05-17 13:46:31 -07:00
parent 01192e0ddf
commit 46d733bd5f
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ def get_tells(db, user_to):
@hook.singlethread
@hook.event('PRIVMSG')
def tellinput(paraml, input=None, db=None, bot=None):
def tellinput(paraml, input=None, db=None):
if 'showtells' in input.msg.lower():
return
@ -44,7 +44,7 @@ def tellinput(paraml, input=None, db=None, bot=None):
db.execute("delete from tell where user_to=lower(?) and message=?",
(input.nick, message))
db.commit()
input.notice(reply)
input.pm(reply)
@hook.command(autohelp=False)