From b5b5cdf731cfec6d630d46d1466f06472ece231b Mon Sep 17 00:00:00 2001 From: Dory Date: Fri, 30 Aug 2024 23:07:58 +0200 Subject: [PATCH] Fixed undocumented bug --- src/cogs/transformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogs/transformation.py b/src/cogs/transformation.py index ed2a259..1bdf9ce 100644 --- a/src/cogs/transformation.py +++ b/src/cogs/transformation.py @@ -16,7 +16,7 @@ async def transform_function(ctx: discord.ApplicationContext, image_url = user.avatar.url if user.avatar is not None else "https://cdn.discordapp.com/embed/avatars/1.png" image_url = image_url.strip() if image_url[:4] != "http": - await ctx.send("Invalid Image URL! Please provide a valid image URL!") + await ctx.respond("Invalid Image URL! Please provide a valid image URL!") return False if "?" in image_url: # Prune url, if possible, to preserve space image_url = image_url[:image_url.index("?")]