Files
Syntrel/cogs/miscellaneous/tryitandsee.py
2025-11-22 19:51:46 -05:00

22 lines
611 B
Python

from discord.ext import commands
def tryitandsee_command():
@commands.hybrid_command(
name="tryitandsee",
description="Try it and see",
)
async def tryitandsee(self, context):
link = "https://tryitands.ee/"
if getattr(context, "interaction", None):
inter = context.interaction
if not inter.response.is_done():
await inter.response.send_message(link, ephemeral=False)
else:
await inter.followup.send(link, ephemeral=True)
else:
await context.send(link)
return tryitandsee