This commit is contained in:
ikechan8370 2025-02-12 15:25:47 +08:00
parent b95bacc7e8
commit 4a3090c6f9
3 changed files with 20 additions and 11 deletions

View file

@ -8,7 +8,7 @@ class Tokenizer {
throw new Error('no valid group id')
}
let group = e.bot.pickGroup(groupId, true)
let latestChat = await group.getChatHistory(0, 1)
let latestChat = await group.getChatHistory(undefined, 1)
let seq = latestChat[0].seq
let chats = latestChat
function compareByTime (a, b) {