added feedback
This commit is contained in:
parent
2a2e762099
commit
3c38c5055e
|
@ -50,10 +50,14 @@ class Tell(DatabasePlugin):
|
||||||
(%s, %s, %s, %s)
|
(%s, %s, %s, %s)
|
||||||
''', tell)
|
''', tell)
|
||||||
self.con.commit()
|
self.con.commit()
|
||||||
|
|
||||||
|
return "I will tell that to {}".format(nick)
|
||||||
except Error as ex:
|
except Error as ex:
|
||||||
self.log.error(ex)
|
self.log.error(ex)
|
||||||
self.con.rollback()
|
self.con.rollback()
|
||||||
|
|
||||||
|
return "database error"
|
||||||
|
|
||||||
@irc3.event(r'(?i)^:(?P<mask>.*) PRIVMSG .* :.*')
|
@irc3.event(r'(?i)^:(?P<mask>.*) PRIVMSG .* :.*')
|
||||||
def on_message(self, mask: str):
|
def on_message(self, mask: str):
|
||||||
"""If activ nick has tells, forward and delete them."""
|
"""If activ nick has tells, forward and delete them."""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user