mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-17 21:57:44 +00:00
fix: 修复消息发送
This commit is contained in:
parent
fcb78f2426
commit
fc86215f11
1 changed files with 1 additions and 2 deletions
|
|
@ -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'));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue