diff --git a/cogs/admin.py b/cogs/admin.py index 9e1b47a..ca7102a 100644 --- a/cogs/admin.py +++ b/cogs/admin.py @@ -87,7 +87,7 @@ class AdminCog(Cog): except Exception as e: await ctx.send(f"Error deleting emoji: {e}") - @commands.command(name="edit-emoji", aliases=["rename", "edit"]) + @commands.command(name="edit-emoji", aliases=["edit"]) @commands.has_permissions(manage_emojis_and_stickers=True) async def edit_emoji(self, ctx: Context, *, name: str) -> None: """Edit an emoji's name or image.""" @@ -111,13 +111,13 @@ class AdminCog(Cog): await ctx.send(f"Emoji `{name}` not found.") return - await ctx.send(f"Emoji `{name}` found.\nUse `/rename` to change the name.") + await ctx.send(f"Emoji `{name}` found.\nUse `/delete` to delete it.") except discord.NotFound: await ctx.send(f"Emoji `{name}` not found.") except Exception as e: await ctx.send(f"Error: {e}") - @commands.command(name="rename", aliases=["edit"]) + @commands.command(name="rename", aliases=["rename-emoji"]) @commands.has_permissions(manage_emojis_and_stickers=True) async def rename(self, ctx: Context, *, name: str) -> None: """Rename an emoji."""