From 8fdf587bde5c523521143d7da119dd0d7a5d6dd8 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 8 May 2024 13:50:46 -0400 Subject: [PATCH] fix(emoji): specify a name for the hybrid command --- emoji/emoji.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emoji/emoji.py b/emoji/emoji.py index 48897dc..b83a0d9 100644 --- a/emoji/emoji.py +++ b/emoji/emoji.py @@ -30,7 +30,7 @@ class Emoji(commands.cog): ] return "\n".join(text) - @commands.hybrid_command() + @commands.hybrid_command(name="emoji") async def emoji(self, ctx: commands.Context, emoji: discord.Emoji, ephemeral: bool = False) -> None: """Retrieve information about an emoji.""" await ctx.send(content=f"Emoji: {emoji}", ephemeral=ephemeral)