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,