From 8eaffb0b99e2d3b243014dd401d056c3418f42e8 Mon Sep 17 00:00:00 2001 From: Cephra Date: Wed, 23 Aug 2017 12:59:00 +0200 Subject: [PATCH] changed to .notice --- bot/tell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/tell.py b/bot/tell.py index 6219b9a..e6cb769 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.") 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):