diff --git a/bot/tell.py b/bot/tell.py index 6219b9a..b250bf6 100644 --- a/bot/tell.py +++ b/bot/tell.py @@ -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.".format(nick)) 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.*) PRIVMSG .* :.*') def on_message(self, mask: str):