From 00cdad31457da68a864b4505ea4116e22fcafbea Mon Sep 17 00:00:00 2001 From: Benjamyn Date: Thu, 27 Aug 2026 16:41:45 +1000 Subject: [PATCH] fix: rename !help to !list-commands to avoid collision with built-in help - discord.ext.commands provides a built-in 'help' command - Renamed the custom command from 'help' to 'list-commands' - Now users can type !list-commands to see all available commands --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a53f17d..2b4e8b5 100644 --- a/main.py +++ b/main.py @@ -139,7 +139,7 @@ async def hello_command(ctx: commands.Context, name: str = "World") -> None: """Say hello to someone.""" await ctx.send(f"Hello, {name}!") -@bot.command(name="help", description="List all available commands.") +@bot.command(name="list-commands", description="List all available commands.") async def help_command(ctx: commands.Context) -> None: """List all available commands.""" # Get all registered commands (both prefix and slash)