misc(emojiinfo): default slash command to ephemeral true
This commit is contained in:
parent
d556ee3704
commit
3fd91d9776
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue