fix(emojiinfo): awaited a coroutine
This commit is contained in:
parent
ce53908938
commit
66df7664a5
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class EmojiInfo(commands.Cog):
|
||||||
)
|
)
|
||||||
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) -> None:
|
||||||
"""Retrieve information about an emoji."""
|
"""Retrieve information about an emoji."""
|
||||||
interaction.response.defer(ephemeral=ephemeral)
|
await interaction.response.defer(ephemeral=ephemeral)
|
||||||
|
|
||||||
emoji: PartialEmoji = PartialEmoji.from_str(self, value=emoji)
|
emoji: PartialEmoji = PartialEmoji.from_str(self, value=emoji)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue