mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2026-06-14 00:22:26 +00:00
插件管理:修复输出功能误循环的问题
统计信息:兼容性提高
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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"):
|
||||
|
||||
@@ -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=易
|
||||
|
||||
Reference in New Issue
Block a user