From 110ce80d684118d2eec7f4e72ffdd0fd148338e2 Mon Sep 17 00:00:00 2001 From: 0xd3d0c3d <0xd3d0c3d@protonmail.com> Date: Fri, 22 Jul 2022 16:14:13 -0500 Subject: [PATCH] highlight_plugin --- plugins/highlight_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/highlight_plugin.py b/plugins/highlight_plugin.py index 6d46752..c60fc21 100644 --- a/plugins/highlight_plugin.py +++ b/plugins/highlight_plugin.py @@ -113,7 +113,7 @@ class Plugin: h3=self.__color(hex(c3)[2:]) h4=self.__color(hex(c4)[2:]) msg=f'{h1}<<< {h2}{ircnick} {h1}>>> {h3}!!! {h4}{message} {h3}!!! {h1}<<< {h2}{ircnick} {h1}>>> {terminate}' - if not GOT_PALETTE: msg+=f"{h1}{c1.zfill(2)},{h2}{c2.zfill(2)},{h3}{c.zfill(2)},{h4}{c4.zfill(2)}" + if not GOT_PALETTE: msg+=f"{h1}{str(c1).zfill(2)},{h2}{str(c2).zfill(2)},{h3}{str(c3).zfill(2)},{h4}{str(c4).zfill(2)}" self.bot.privmsg(target,self.bot.emo(msg)) if dice: c1+=1;c2+=1;c3+=1;c4+=1