From 7811ee2888060028358d290ce8c6607d378b56fa Mon Sep 17 00:00:00 2001 From: Michelle Date: Thu, 28 May 2026 10:37:49 +0200 Subject: [PATCH] disable embed from fluxer --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index b64564e..75d3a69 100644 --- a/main.py +++ b/main.py @@ -278,7 +278,7 @@ async def post_reddit(): content_type = response.headers.get("Content-Type", "").split(";")[0] file_ext = content_type.split("/")[-1] if content_type.startswith("image/") else "jpg" await channel.send( - content=f"{title}\nOriginal post: {image_url}", + content=f"{title}\nOriginal post: <{image_url}>", file=fluxer.File(image_bytes, filename=f"{post_id}.{file_ext}") ) cur.execute("INSERT OR REPLACE INTO posted (guild_id, post_id) VALUES (?, ?)", (guild_id, post_id))