From d126f1e6d34678da93f346506ffa85eb424dfa6e Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 8 May 2024 16:00:36 -0400 Subject: [PATCH] fix(emojiinfo): made the ephemeral argument optional in the slash command --- emojiinfo/emojiinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emojiinfo/emojiinfo.py b/emojiinfo/emojiinfo.py index 9511ac0..f327eb1 100644 --- a/emojiinfo/emojiinfo.py +++ b/emojiinfo/emojiinfo.py @@ -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)