This commit is contained in:
bietiaop 2024-07-08 16:41:59 +08:00
parent 4828a31163
commit 8f5e986038

View file

@ -9,7 +9,9 @@ export class ZZZPlugin extends plugin {
if (this.e.at) {
user = this.e.at;
}
this.User = new NoteUser(user);
this.User = await NoteUser.create(user);
logger.mark(this.User);
logger.mark(this.User.getUid('zzz'));
let uid = this.e.msg.match(/\d+/)?.[0];
uid = uid || this.User?.getUid('zzz');
if (!uid) {