Files
Syntrel/cogs/miscellaneous/duck.py

37 lines
2.0 KiB
Python
Raw Normal View History

2025-10-16 01:02:56 -04:00
from discord.ext import commands
def duck_command():
@commands.hybrid_command(
name="duck",
description="Duck ASCII art",
)
async def duck(self, context):
duck_art = """











"""
if getattr(context, "interaction", None):
inter = context.interaction
if not inter.response.is_done():
2025-11-02 23:32:52 -05:00
await inter.response.send_message(
f"```ansi\n{duck_art}\n```", ephemeral=False
)
2025-10-16 01:02:56 -04:00
else:
await inter.followup.send(f"```ansi\n{duck_art}\n```", ephemeral=True)
else:
await context.send(f"```ansi\n{duck_art}\n```")
2025-11-02 23:32:52 -05:00
2025-10-16 01:02:56 -04:00
return duck