Add EmojiInfo cog #27

Merged
cswimr merged 27 commits from emoji into main 2024-05-08 16:07:30 -04:00
Showing only changes of commit d126f1e6d3 - Show all commits

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) -> None:
async def emoji_slash(self, interaction: discord.Interaction, emoji: str, ephemeral: bool = False) -> None:
"""Retrieve information about an emoji."""
await interaction.response.defer(ephemeral=ephemeral)