mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47:11 +00:00
fix: replace getMemberMap with gml
This commit is contained in:
parent
3709166b2d
commit
cf7da0d2c5
2 changed files with 4 additions and 4 deletions
|
|
@ -16,7 +16,7 @@ export async function getChatHistoryGroup (e, num) {
|
|||
}
|
||||
chats = chats.slice(0, num)
|
||||
try {
|
||||
let mm = await e.group.getMemberMap()
|
||||
let mm = await e.bot.gml
|
||||
for (const chat of chats) {
|
||||
if (e.adapter === 'shamrock') {
|
||||
if (chat.sender?.user_id === 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue