fix(tryitandsee): send only link instead of embed

The tryitandsee command now sends a direct link (https://tryitands.ee/) instead of an embedded GIF. This simplifies the response and removes the use of embeds and images.
This commit is contained in:
neoarz
2025-10-04 19:31:06 -04:00
parent 4f66c3705a
commit 5128706f9a

View File

@@ -9,21 +9,15 @@ def tryitandsee_command():
description="Try it and see", description="Try it and see",
) )
async def tryitandsee(self, context): async def tryitandsee(self, context):
gif_url = "https://yes.nighty.works/raw/1BQP8c.gif" link = "https://tryitands.ee/"
embed = discord.Embed(
color=0x7289DA,
)
embed.set_author(name="Try It And See", icon_url="https://yes.nighty.works/raw/YxMC0r.png")
embed.set_image(url=gif_url)
if getattr(context, "interaction", None): if getattr(context, "interaction", None):
inter = context.interaction inter = context.interaction
if not inter.response.is_done(): if not inter.response.is_done():
await inter.response.send_message(embed=embed, ephemeral=False) await inter.response.send_message(link, ephemeral=False)
else: else:
await inter.followup.send(embed=embed, ephemeral=True) await inter.followup.send(link, ephemeral=True)
else: else:
await context.send(embed=embed) await context.send(link)
return tryitandsee return tryitandsee