From aaebccf7abaf00d74098e697e136d0a9584e7ed7 Mon Sep 17 00:00:00 2001 From: Snowykami <79104275+snowykami@users.noreply.github.com> Date: Tue, 9 Apr 2024 07:59:45 +0800 Subject: [PATCH] fix: arguments index --- liteyuki/plugins/liteyuki_pacman/npm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liteyuki/plugins/liteyuki_pacman/npm.py b/liteyuki/plugins/liteyuki_pacman/npm.py index 155b4130..5f8f7c2d 100644 --- a/liteyuki/plugins/liteyuki_pacman/npm.py +++ b/liteyuki/plugins/liteyuki_pacman/npm.py @@ -77,7 +77,7 @@ disable = "disable" ), Subcommand( "list", - Args["num", int, 10]["page", int, 1], + Args["page", int, 1]["num", int, 10], alias=["ls", "列表"], ), Subcommand(