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:
parent
f85e110452
commit
2d5ea97974
@ -381,7 +381,7 @@ export async function Note_appoint(e) {
|
|||||||
let nickname = Bot.nickname;
|
let nickname = Bot.nickname;
|
||||||
if (e.isGroup) {
|
if (e.isGroup) {
|
||||||
let info = await Bot.getGroupMemberInfo(e.group_id, Bot.uin)
|
let info = await Bot.getGroupMemberInfo(e.group_id, Bot.uin)
|
||||||
nickname = info.card ?? info.nickname
|
nickname = info.card || info.nickname
|
||||||
}
|
}
|
||||||
if (msg.includes("列表")) {
|
if (msg.includes("列表")) {
|
||||||
let mstList = [];
|
let mstList = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user