misc(emojiinfo): default slash command to ephemeral true
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 44s

This commit is contained in:
Seaswimmer 2024-05-17 00:44:19 -04:00
parent d556ee3704
commit 3fd91d9776
Signed by: 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?", emoji="What emoji would you like to get information on?",
ephemeral="Would you like the response to be hidden?" 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.""" """Retrieve information about an emoji."""
await interaction.response.defer(ephemeral=ephemeral) await interaction.response.defer(ephemeral=ephemeral)