From 8866e319197908769fa538b741151a886b1ef8be Mon Sep 17 00:00:00 2001 From: hkc Date: Mon, 8 Jul 2024 22:23:37 +0300 Subject: [PATCH] oopsie --- async-bot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/async-bot.py b/async-bot.py index ba55d5d..7e50dea 100644 --- a/async-bot.py +++ b/async-bot.py @@ -64,7 +64,9 @@ class AsyncBotManager: "LA", (int(right - left) + 4, int(bottom - top) + 16), 0 ) as im: draw = ImageDraw.Draw(im) - draw.rectangle((0, 0, im.width, im.height), (0, 0)) + draw.rectangle( + (0, 0, im.width, im.height), (255 if negative else 0, 0) + ) draw.text( (left + 2, top + 2), text,