misc(emojiinfo): default slash command to ephemeral true

This commit is contained in:
Seaswimmer 2024-05-17 00:44:19 -04:00
parent d556ee3704
commit 3fd91d9776
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -91,7 +91,7 @@ class EmojiInfo(commands.Cog):
emoji="What emoji would you like to get information on?",
ephemeral="Would you like the response to be hidden?"
)
async def emoji_slash(self, interaction: discord.Interaction, emoji: str, ephemeral: bool = False) -> None:
async def emoji_slash(self, interaction: discord.Interaction, emoji: str, ephemeral: bool = True) -> None:
"""Retrieve information about an emoji."""
await interaction.response.defer(ephemeral=ephemeral)