Updated code
This commit is contained in:
parent
62b3e84ca0
commit
1e13e8e263
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,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, notice=None, db=None, bot=None):
|
||||
if 'showtells' in input.msg.lower():
|
||||
return
|
||||
|
||||
|
@ -45,7 +45,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)
|
||||
notice(reply)
|
||||
|
||||
|
||||
@hook.command(autohelp=False)
|
||||
|
|
Reference in a new issue