Skip to content

Commit

Permalink
fix: / 命令在 napcat 无法回复触发
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Jan 21, 2025
1 parent 93aa022 commit 0da4805
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/src/controllers/HugController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ export default class {
if (sourceMember instanceof OicqMember) {
memberInfo = sourceMember.info;
}
else {
memberInfo = await sourceMember.renew();
}
to = {
from: 'qq',
name: memberInfo.card || memberInfo.nickname,
Expand Down

0 comments on commit 0da4805

Please sign in to comment.