Skip to content

Commit

Permalink
fix: replace getMemberMap with gml
Browse files Browse the repository at this point in the history
  • Loading branch information
ikechan8370 committed Feb 28, 2024
1 parent 9c73c99 commit 58e6201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ export class chatgpt extends plugin {
prompt = msg.trim()
try {
if (e.isGroup) {
let mm = await this.e.bot.gml
let mm = this.e.bot.gml
let me = mm.get(getUin(e)) || {}
let card = me.card
let nickname = me.nickname
Expand Down
2 changes: 1 addition & 1 deletion utils/face.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ export async function convertFaces (msg, handleAt = false, e) {
let groupCardQQMap = {}
if (handleAt) {
try {
groupMembers = await e.group.getMemberMap()
groupMembers = e.bot.gml
} catch (err) {
console.error(`Failed to get group members: ${err}`)
}
Expand Down

0 comments on commit 58e6201

Please # to comment.