From 628baf82a73430140d27808834d4062a3ff68894 Mon Sep 17 00:00:00 2001 From: Clemiee McCartney Date: Fri, 14 Oct 2022 19:15:12 +0700 Subject: [PATCH] fucking typo --- cogs/ckc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/ckc.py b/cogs/ckc.py index 6594053..464108e 100644 --- a/cogs/ckc.py +++ b/cogs/ckc.py @@ -288,7 +288,7 @@ async def ocr(self, ctx: InteractionContext, image: OptionTypes.ATTACHMENT): if len(results) > 2048: results = "{}...".format(results[:2045]) embed.description = results - preview = catbox.url_upload(attachment.url) + preview = catbox.url_upload(image.url) embed.set_image(url=preview) embed.set_footer( text="Optical Character Recognition",