修复 go-cqhttp 群文件发送错误

This commit is contained in:
🌌 2023-06-18 13:34:34 +08:00
parent 853442a5e8
commit 15444b93e9
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ export default class gocqhttpAdapter {
recallMsg: message_id => this.recallMsg(i, message_id), recallMsg: message_id => this.recallMsg(i, message_id),
makeForwardMsg: Bot.makeForwardMsg, makeForwardMsg: Bot.makeForwardMsg,
sendForwardMsg: msg => this.sendGroupForwardMsg(i, msg), 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), getInfo: () => this.getGroupInfo(i),
getAvatarUrl: () => `https://p.qlogo.cn/gh/${i.group_id}/${i.group_id}/0`, getAvatarUrl: () => `https://p.qlogo.cn/gh/${i.group_id}/${i.group_id}/0`,
getMemberArray: () => this.getGroupMemberArray(i), getMemberArray: () => this.getGroupMemberArray(i),