mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
dcaa07dc1c | ||
![]() |
5194c279d8 |
@@ -4,7 +4,7 @@
|
||||
"name": "LLOneBot",
|
||||
"slug": "LLOneBot",
|
||||
"description": "LiteLoaderQQNT的OneBotApi",
|
||||
"version": "2.4.0",
|
||||
"version": "2.4.1",
|
||||
"thumbnail": "./icon.png",
|
||||
"authors": [{
|
||||
"name": "linyuchen",
|
||||
|
@@ -300,7 +300,6 @@ async function listenSendMessage(postData: PostDataSendMsg) {
|
||||
name: group.name,
|
||||
uid: group.uid
|
||||
}
|
||||
|
||||
} else {
|
||||
sendMsgResult.status = -1;
|
||||
sendMsgResult.retcode = -1;
|
||||
@@ -360,9 +359,9 @@ async function listenSendMessage(postData: PostDataSendMsg) {
|
||||
} else {
|
||||
localFilePath = path;
|
||||
}
|
||||
sendFiles.push(localFilePath);
|
||||
}
|
||||
message.file = localFilePath
|
||||
sendFiles.push(localFilePath);
|
||||
} else if (message.type == "reply") {
|
||||
let msgId = message.data?.id || message.msgId
|
||||
let replyMessage = msgHistory.find(msg => msg.raw.msgId == msgId)
|
||||
|
Reference in New Issue
Block a user