diff --git a/emojiinfo/emojiinfo.py b/emojiinfo/emojiinfo.py index 40701d6..ab39a05 100644 --- a/emojiinfo/emojiinfo.py +++ b/emojiinfo/emojiinfo.py @@ -1,6 +1,5 @@ from typing import Any, Literal -import discord from red_commons.logging import RedTraceLogger, getLogger from redbot.core import commands from redbot.core.bot import Red @@ -31,6 +30,6 @@ class EmojiInfo(commands.Cog): return "\n".join(text) @commands.hybrid_command(name="emoji") - async def emoji(self, ctx: commands.Context, emoji: discord.Emoji, ephemeral: bool = False) -> None: + async def emoji(self, ctx: commands.Context, emoji: str, ephemeral: bool = False) -> None: """Retrieve information about an emoji.""" await ctx.send(content=f"Emoji: {emoji}", ephemeral=ephemeral)