use PMs for tells -- notices are easy to miss
This commit is contained in:
parent
01192e0ddf
commit
46d733bd5f
|
@ -24,7 +24,7 @@ def get_tells(db, user_to):
|
||||||
|
|
||||||
@hook.singlethread
|
@hook.singlethread
|
||||||
@hook.event('PRIVMSG')
|
@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():
|
if 'showtells' in input.msg.lower():
|
||||||
return
|
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=?",
|
db.execute("delete from tell where user_to=lower(?) and message=?",
|
||||||
(input.nick, message))
|
(input.nick, message))
|
||||||
db.commit()
|
db.commit()
|
||||||
input.notice(reply)
|
input.pm(reply)
|
||||||
|
|
||||||
|
|
||||||
@hook.command(autohelp=False)
|
@hook.command(autohelp=False)
|
||||||
|
|
Loading…
Reference in New Issue