From 84902dae12f1002286cc1cb46a7dde3fc16993dc Mon Sep 17 00:00:00 2001 From: TropiiDev Date: Sun, 16 Mar 2025 19:41:04 -0400 Subject: [PATCH] Implement a whisper command --- commands/whisper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/whisper.py b/commands/whisper.py index 1aeae9b..4c7381c 100644 --- a/commands/whisper.py +++ b/commands/whisper.py @@ -12,7 +12,7 @@ class Whisper(commands.Cog): @app_commands.command(name="whisper", description="secretly send someone a message") async def whisper(self, interaction: discord.Interaction, user: discord.User, message: str): - await interaction.response.send_message(f"{user.mention}, {interaction.user.mention} whispered {message}", ephemeral=True) + await interaction.response.send_message(f"{user.mention}, {interaction.user.mention} whispered '{message}'", ephemeral=True) async def setup(bot): await bot.add_cog(Whisper(bot)) \ No newline at end of file