diff --git a/plugins/adapter/ComWeChat.js b/plugins/adapter/ComWeChat.js index 21bd3ef..1111325 100644 --- a/plugins/adapter/ComWeChat.js +++ b/plugins/adapter/ComWeChat.js @@ -106,7 +106,7 @@ Bot.adapter.push(new class ComWeChatAdapter { i = { type: "mention", data: { user_id: i.data.qq }} break case "reply": - i = { type: "text", data: { text: `回复:${i.data.id}\n` }} + continue break default: i = { type: "text", data: { text: JSON.stringify(i) }} diff --git a/plugins/adapter/GSUIDCore.js b/plugins/adapter/GSUIDCore.js index 79db2c2..944e99e 100644 --- a/plugins/adapter/GSUIDCore.js +++ b/plugins/adapter/GSUIDCore.js @@ -7,7 +7,7 @@ Bot.adapter.push(new class GSUIDCoreAdapter { constructor() { this.id = "GSUIDCore" this.name = "早柚核心" - this.path = "GSUIDCore" + this.path = this.id } toStr(data) { @@ -118,6 +118,7 @@ Bot.adapter.push(new class GSUIDCoreAdapter { recallMsg: () => false, makeForwardMsg: Bot.makeForwardMsg, sendForwardMsg: msg => Bot.sendForwardMsg(msg => this.sendFriendMsg(i, msg), msg), + getInfo: () => i, } } @@ -148,6 +149,7 @@ Bot.adapter.push(new class GSUIDCoreAdapter { recallMsg: () => false, makeForwardMsg: Bot.makeForwardMsg, sendForwardMsg: msg => Bot.sendForwardMsg(msg => this.sendGroupMsg(i, msg), msg), + getInfo: () => i, pickMember: user_id => this.pickMember(id, group_id, user_id), } } diff --git a/plugins/adapter/go-cqhttp.js b/plugins/adapter/go-cqhttp.js index d99b870..e6cdaa4 100644 --- a/plugins/adapter/go-cqhttp.js +++ b/plugins/adapter/go-cqhttp.js @@ -681,7 +681,7 @@ Bot.adapter.push(new class gocqhttpAdapter { logger.info(`${logger.blue(`[${data.self_id}]`)} 离线文件:[${data.user_id}] ${JSON.stringify(data.file)}`) break case "client_status": - logger.info(`${logger.blue(`[${data.self_id}]`)} 客户端:[${data.client}] ${data.online ? "上线" : "下线"}`) + logger.info(`${logger.blue(`[${data.self_id}]`)} 客户端${data.online ? "上线" : "下线"}:${JSON.stringify(data.client)}`) data.clients = (await data.sendApi("get_online_clients")).clients Bot[data.self_id].clients = data.clients break