From 66df7664a5c4aaf853eb9096590e0a6bf30039ef Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 8 May 2024 15:59:10 -0400 Subject: [PATCH] fix(emojiinfo): awaited a coroutine --- emojiinfo/emojiinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emojiinfo/emojiinfo.py b/emojiinfo/emojiinfo.py index df30008..9511ac0 100644 --- a/emojiinfo/emojiinfo.py +++ b/emojiinfo/emojiinfo.py @@ -93,7 +93,7 @@ class EmojiInfo(commands.Cog): ) async def emoji_slash(self, interaction: discord.Interaction, emoji: str, ephemeral: bool) -> None: """Retrieve information about an emoji.""" - interaction.response.defer(ephemeral=ephemeral) + await interaction.response.defer(ephemeral=ephemeral) emoji: PartialEmoji = PartialEmoji.from_str(self, value=emoji)