Files

22 lines
611 B
Python
Raw Permalink Normal View History

2025-09-28 10:53:12 -04:00
from discord.ext import commands
def tryitandsee_command():
2025-09-28 10:53:12 -04:00
@commands.hybrid_command(
name="tryitandsee",
description="Try it and see",
)
async def tryitandsee(self, context):
link = "https://tryitands.ee/"
2025-11-02 23:32:52 -05:00
2025-09-28 10:53:12 -04:00
if getattr(context, "interaction", None):
inter = context.interaction
if not inter.response.is_done():
await inter.response.send_message(link, ephemeral=False)
2025-09-28 10:53:12 -04:00
else:
await inter.followup.send(link, ephemeral=True)
2025-09-28 10:53:12 -04:00
else:
await context.send(link)
2025-11-02 23:32:52 -05:00
return tryitandsee