From fe2d124b40947035266c4d2b865979f270891a82 Mon Sep 17 00:00:00 2001 From: khuxkm Date: Thu, 26 Jul 2018 16:06:17 -0400 Subject: [PATCH] Add response --- bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot.py b/bot.py index 9548474..0dd264c 100644 --- a/bot.py +++ b/bot.py @@ -37,6 +37,7 @@ class AuditBot(teambot.Handler): say_log("{} is auditing \"{}\"".format(nick,log(self._bot.bot_nick,text)),"!","green") bbj.thread_reply(opts.get("thread_id"),opts.get("format").format(time.strftime("%Y-%m-%d %H:%M:%S"),nick,log(self._bot.bot_nick,text))) # say_log(repr(r)) + self.say(target,"{}: audited!".format(nick)) else: say_log("{} is auditing \"{}\" but is not a sudoer!".format(nick,log(self._bot.bot_nick,text)),"X") self.say(target,"{}: you aren't a sudoer!".format(nick))