diff --git a/plugins/logger/src/index.ts b/plugins/logger/src/index.ts index fe5d9611..e4fe2da2 100644 --- a/plugins/logger/src/index.ts +++ b/plugins/logger/src/index.ts @@ -6,7 +6,7 @@ import { FileWriter } from './file' import { throttle } from 'throttle-debounce' import zhCN from './locales/zh-CN.yml' -declare module '@koishijs/plugin-console' { +declare module '@koishijs/console' { namespace Console { interface Services { logs: DataService diff --git a/plugins/status/package.json b/plugins/status/package.json index d94a2627..613e1319 100644 --- a/plugins/status/package.json +++ b/plugins/status/package.json @@ -1,7 +1,7 @@ { "name": "@koishijs/plugin-status", "description": "Status view for Koishi", - "version": "7.3.0", + "version": "7.4.2", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ diff --git a/plugins/status/src/locales/zh-CN.yml b/plugins/status/src/locales/zh-CN.yml index 93d2e491..34e4cdcb 100644 --- a/plugins/status/src/locales/zh-CN.yml +++ b/plugins/status/src/locales/zh-CN.yml @@ -8,7 +8,7 @@ commands: 2: 正在连接 4: 正在重连 3: 正在断开 - bot:

{user.name}:

+ bot:

[{user.platform}] {user.name}:

epilog: |- ========== CPU 使用率:{ (cpu[0] * 100).toFixed() }% / { (cpu[1] * 100).toFixed() }%