From 15444b93e9ab6b13913d0723425636105db91d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=8C=8C?= Date: Sun, 18 Jun 2023 13:34:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20go-cqhttp=20=E7=BE=A4?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=8F=91=E9=80=81=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/adapter/WebSocket/go-cqhttp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/adapter/WebSocket/go-cqhttp.js b/lib/adapter/WebSocket/go-cqhttp.js index 2ccfe00..f4ec516 100644 --- a/lib/adapter/WebSocket/go-cqhttp.js +++ b/lib/adapter/WebSocket/go-cqhttp.js @@ -469,7 +469,7 @@ export default class gocqhttpAdapter { recallMsg: message_id => this.recallMsg(i, message_id), makeForwardMsg: Bot.makeForwardMsg, sendForwardMsg: msg => this.sendGroupForwardMsg(i, msg), - sendFile: (file, name) => this.sendGroupFile(data, file, undefined, name), + sendFile: (file, name) => this.sendGroupFile(i, file, undefined, name), getInfo: () => this.getGroupInfo(i), getAvatarUrl: () => `https://p.qlogo.cn/gh/${i.group_id}/${i.group_id}/0`, getMemberArray: () => this.getGroupMemberArray(i),