changed to .notice

This commit is contained in:
Cephra 2017-08-23 12:59:00 +02:00
parent 3c38c5055e
commit 8eaffb0b99

View File

@ -51,12 +51,12 @@ class Tell(DatabasePlugin):
''', tell)
self.con.commit()
return "I will tell that to {}".format(nick)
self.bot.notice(mask.nick, "I will tell that to {} when I see them.")
except Error as ex:
self.log.error(ex)
self.con.rollback()
return "database error"
self.bot.notice(mask.nick, "database error")
@irc3.event(r'(?i)^:(?P<mask>.*) PRIVMSG .* :.*')
def on_message(self, mask: str):