changed to .notice
This commit is contained in:
parent
3c38c5055e
commit
8eaffb0b99
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user