diff --git a/src/nonebot_plugins/liteyuki_pacman/npm.py b/src/nonebot_plugins/liteyuki_pacman/npm.py index 24cf365..23b59bc 100644 --- a/src/nonebot_plugins/liteyuki_pacman/npm.py +++ b/src/nonebot_plugins/liteyuki_pacman/npm.py @@ -521,8 +521,8 @@ async def _(result: Arparma, event: T_MessageEvent, bot: T_Bot, npm: Matcher): reply += "\n>\t{}\n".format(storePlugin.name) - await npm.send(reply) - + await npm.send(reply) + else: if await SUPERUSER(bot, event): btn_enable_global = md.btn_cmd( diff --git a/src/nonebot_plugins/liteyuki_statistics/stat_matchers.py b/src/nonebot_plugins/liteyuki_statistics/stat_matchers.py index d631c4f..5723f89 100644 --- a/src/nonebot_plugins/liteyuki_statistics/stat_matchers.py +++ b/src/nonebot_plugins/liteyuki_statistics/stat_matchers.py @@ -80,7 +80,7 @@ stat_msg = on_alconna( @stat_msg.assign("message") async def _(result: Arparma, event: T_MessageEvent, bot: Bot): - ulang = Language(event_utils.get_user_id(event)) + ulang = Language(str(event_utils.get_user_id(event))) try: duration = convert_time_to_seconds( result.other_args.get("duration", "2d") @@ -123,7 +123,7 @@ async def _(result: Arparma, event: T_MessageEvent, bot: Bot): @stat_msg.assign("rank") async def _(result: Arparma, event: T_MessageEvent, bot: Bot): - ulang = Language(event_utils.get_user_id(event)) + ulang = Language(str(event_utils.get_user_id(event))) rank_type = "user" duration = convert_time_to_seconds(result.other_args.get("duration", "1d")) if result.subcommands.get("rank").options.get("user"): diff --git a/src/resources/vanilla_language/lang/zh-WY.lang b/src/resources/vanilla_language/lang/zh-WY.lang index b7ef6c6..9184c03 100644 --- a/src/resources/vanilla_language/lang/zh-WY.lang +++ b/src/resources/vanilla_language/lang/zh-WY.lang @@ -66,14 +66,14 @@ npm.total=合 {TOTAL} npm.help=师 npm.usage=问 npm.description=答 -npm.disable=去 -npm.disable_global=皆去 -npm.enable=用 -npm.enable_global=皆用 +npm.disable=止 +npm.disable_global=皆止 +npm.enable=启 +npm.enable_global=皆启 npm.install=置 -npm.uninstall=消 +npm.uninstall=去 npm.installing=乃置 {NAME} -npm.cannot_uninstall=未消 +npm.cannot_uninstall=未去 npm.no_description=无答 npm.store_update_success=件阁方新 npm.store_update_failed=件阁无以新 @@ -82,8 +82,8 @@ npm.search_no_result=未果 npm.too_many_results=所得之多,为数 {HIDE_NUM} 尽隐,求则号精 npm.install_success={NAME} 方置 npm.install_failed={NAME} 无以置,求讯文观其始末,未解则取 {HOMEPAGE} 而从师 -npm.uninstall_success={NAME} 方消,次复启以毕功 -npm.uninstall_failed={NAME} 无以消 +npm.uninstall_success={NAME} 方去,次复启以毕功 +npm.uninstall_failed={NAME} 无以去 npm.load_failed={NAME} 无以誊,或求讯文观始末,或查所依偏离否,未解则取 {HOMEPAGE} 而从师 npm.plugin_not_found=阁内无件曰 {NAME} 者 npm.plugin_not_installed={NAME} 未置 @@ -102,8 +102,8 @@ npm.page=第 {PAGE} 之于 {TOTAL} 页 npm.cannot=不可 npm.update_index=阁引 npm.list_plugins=件目 -npm.disable_session=是处去 -npm.enable_session=是处用 +npm.disable_session=是处止 +npm.enable_session=是处启 npm.search=索 user.profile.edit=易