From 6b966ad58d77cc04adaa1652d01678f049337e8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=A9=E6=B5=86?= Date: Sun, 17 Nov 2024 12:55:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3adapter.id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 方便插件识别该适配器并特殊优化 --- src/core/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/index.ts b/src/core/index.ts index ac69a55..78031af 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -53,7 +53,7 @@ export class AdapterQQBot implements KarinAdapter { this.markdown = restConfig this.account = { uid: appId, uin: appId, name: '' } - this.adapter = { id: 'QQ', name: 'QQBot', type: 'internal', sub_type: 'internal', start_time: Date.now(), connect: '', index: 0 } + this.adapter = { id: 'QQBot', name: 'QQBot', type: 'internal', sub_type: 'internal', start_time: Date.now(), connect: '', index: 0 } this.version = { name: 'QQBot', app_name: 'QQBot', version: Config.package.version } this.super = new QQBotApi(this.#config)