2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2025-01-22 22:11:22 +08:00

修正群聊不显示昵称显示qq的问题

This commit is contained in:
leiyilu 2022-08-03 21:43:07 +08:00
parent f85e110452
commit 2d5ea97974

View File

@ -381,7 +381,7 @@ export async function Note_appoint(e) {
let nickname = Bot.nickname;
if (e.isGroup) {
let info = await Bot.getGroupMemberInfo(e.group_id, Bot.uin)
nickname = info.card ?? info.nickname
nickname = info.card || info.nickname
}
if (msg.includes("列表")) {
let mstList = [];