diff --git a/src/mudlib/commands/help.py b/src/mudlib/commands/help.py index f53404e..f1d834f 100644 --- a/src/mudlib/commands/help.py +++ b/src/mudlib/commands/help.py @@ -229,6 +229,9 @@ async def cmd_commands(player: Player, args: str) -> None: other: list[CommandDefinition] = [] for defn in unique_commands: + # Hide admin commands from non-admins + if defn.admin and not player.is_admin: + continue # Check if it's a movement command if defn.name in DIRECTIONS: movement.append(defn)