fix(emoji): specify a name for the hybrid command
This commit is contained in:
parent
ea1f7a7f8e
commit
8fdf587bde
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue