Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
dorythecat committed Aug 30, 2024
2 parents ba39e1a + b5b5cdf commit fa12079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cogs/transformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("?")]
Expand Down

0 comments on commit fa12079

Please sign in to comment.