fix: 修复消息发送

This commit is contained in:
Qian23333 2025-08-16 11:22:45 +08:00
parent fcb78f2426
commit fc86215f11

View file

@ -294,8 +294,7 @@ export class Remind extends ZZZPlugin {
const messages = await this.checkUser(userId, userConfig, false, mockE); const messages = await this.checkUser(userId, userConfig, false, mockE);
if (messages.length > 0) { if (messages.length > 0) {
const user = Bot.pickUser(userId); await Bot.pickFriend(userId).sendMsg(messages.join('\n'));
await user.sendMsg(messages.join('\n'));
} }
} }
} }