From b37530c609d0f11cc2fdc1ad1727a79d635f142c Mon Sep 17 00:00:00 2001 From: khuxkm Date: Sat, 21 Jul 2018 08:17:02 -0400 Subject: [PATCH] Fix the non-sudoer message for the final time --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 2be2ae3..9548474 100644 --- a/bot.py +++ b/bot.py @@ -39,7 +39,7 @@ class AuditBot(teambot.Handler): # say_log(repr(r)) else: say_log("{} is auditing \"{}\" but is not a sudoer!".format(nick,log(self._bot.bot_nick,text)),"X") - self.conn.privmsg(target,"{}: you aren't a sudoer!".format(nick)) + self.say(target,"{}: you aren't a sudoer!".format(nick)) if __name__=="__main__": channels = "#sudoers".split()