From 2c93f8ab37e0900fba48b7b9f9b023f96dc8bed7 Mon Sep 17 00:00:00 2001 From: shanmite <1971513084@qq.com> Date: Wed, 20 Jan 2021 16:39:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8A=A8=E6=80=81=E9=87=8D=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/Monitor.js | 4 ++-- lib/Script.js | 2 +- lib/config.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Monitor.js b/lib/Monitor.js index 117fb2e..3e198fc 100644 --- a/lib/Monitor.js +++ b/lib/Monitor.js @@ -37,8 +37,8 @@ class Monitor extends Public { if (typeof oneDynamicObj.origin_dynamic_id === 'string') newdyid += oneDynamicObj.origin_dynamic_id + ','; } - await MyStorage.updateDyid((Array.from(new Set([...newdyid.split(','), ...alldyid.split(',')]))).toString()); - this.AllMyLotteryInfo = newdyid; + this.AllMyLotteryInfo = (Array.from(new Set([...newdyid.split(','), ...alldyid.split(',')]))).toString(); + await MyStorage.updateDyid(this.AllMyLotteryInfo); this.startLottery(); } /** diff --git a/lib/Script.js b/lib/Script.js index d9a86fd..ad80aec 100644 --- a/lib/Script.js +++ b/lib/Script.js @@ -1,5 +1,5 @@ module.exports = { - version: '|version: 3.7.1|in nodejs', + version: '|version: 3.8.0|in nodejs', author: '@shanmite', UIDs: [ 213931643, diff --git a/lib/config.js b/lib/config.js index c2e09e1..2470dc8 100644 --- a/lib/config.js +++ b/lib/config.js @@ -7,7 +7,7 @@ module.exports = { maxday: '-1', wait: '60000', minfollower: '500', - blacklist: '28008897,28272016,140389827,24598781,28008860,28008880,28008743,28008948,28009292,319696958,90138218,28272000,28272047,28271978,8831288,175979009,3177443,486780865,403048135,474325039,455274996,477519424,292671666,448873224,22498938,1770865,444796995,306112375,320193786,606637517,305276429,204487541,404761800,186914127,99439379,457697569,270886929,477519424,401575,201296348,206804212,333584926,34679178,699923691,392689522,178700744,272882445,350977368,487168411,22682842,444949061,523974463,192231907,503908324,383189098,252909207,336467750,264875137,90721742,452299642,677739290,441522918', + blacklist: '28008897,28272016,140389827,24598781,28008860,28008880,28008743,28008948,28009292,319696958,90138218,28272000,28272047,28271978,8831288,175979009,3177443,486780865,403048135,474325039,455274996,477519424,292671666,448873224,22498938,1770865,444796995,306112375,320193786,606637517,305276429,204487541,404761800,186914127,99439379,457697569,270886929,477519424,401575,201296348,206804212,333584926,34679178,699923691,392689522,178700744,272882445,350977368,487168411,22682842,444949061,523974463,192231907,503908324,383189098,252909207,336467750,264875137,90721742,452299642,677739290,441522918,8766623,698327474,5439672', blockword: ["脚本抽奖","恭喜","结果"], whiteklist: '', relay: ['转发动态'],