Update qqread.js

This commit is contained in:
lxk0301
2021-01-06 22:55:20 +08:00
parent 09e30b920d
commit 4002583a2f

View File

@@ -218,12 +218,12 @@ async function QQ_READ() {
if (task.data.user.amount >= 100000) { if (task.data.user.amount >= 100000) {
await qqreadwithdraw(); await qqreadwithdraw();
} }
await showmsg();//通知
} }
await showmsg();//通知
} }
function showmsg() { function showmsg() {
return new Promise(async resolve => { return new Promise(async resolve => {
if (nowTimes.getHours() === 22 && (nowTimes.getMinutes() > 0 && nowTimes.getMinutes() <= 15)) { if (nowTimes.getHours() === 22 && (nowTimes.getMinutes() > 45 && nowTimes.getMinutes() <= 59)) {
await notify.sendNotify(jsname, tz); await notify.sendNotify(jsname, tz);
} }
$.msg(jsname, "", tz); $.msg(jsname, "", tz);