From 668eb526738a662077444ce246509b614c5cafca Mon Sep 17 00:00:00 2001 From: Michelle Date: Sat, 25 Apr 2026 17:31:04 +0200 Subject: [PATCH] fix: correct response status check in racoon command --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 338f0be..22b4b73 100644 --- a/main.py +++ b/main.py @@ -170,7 +170,7 @@ async def racoon(message): async with aiohttp.ClientSession() as session: async with session.get(urls) as response: image_bytes = await response.read() - if response.status_code != 200: + if response.status != 200: await message.channel.send("Failed to fetch racoon image") return await message.channel.send(file=fluxer.File(image_bytes, filename="racoon.jpg"))