diff --git a/lib/plugin.js b/lib/plugin.js index 764447c..908ce0d 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -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) {