2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-22 19:10:53 +08:00

修正戳一戳问题

This commit is contained in:
Ctrlcvs 2022-08-18 13:21:52 +08:00
parent 607f6275fe
commit 30dab3bee0

View File

@ -358,16 +358,16 @@ export async function DailyNoteTask() {
redis.set(sendkey, "1", {
EX: sendCD
});
await Note(e, getPluginRender("xiaoyao-cvs-plugin"));
// await Note(e, getPluginRender("xiaoyao-cvs-plugin"));
}
}
}
export async function pokeNote(e) {
export async function pokeNote(e,{render}) {
if (!Cfg.get("note.poke")) {
return false;
}
return await Note(e, getPluginRender("xiaoyao-cvs-plugin"), "poke");
return await Note(e,{render}, "poke");
}