mirror of
https://github.com/hex-ci/smzdm_script.git
synced 2026-06-18 01:27:20 +08:00
Update smzdm_lottery.js
This commit is contained in:
@@ -24,6 +24,9 @@ class SmzdmLotteryBot extends SmzdmBot {
|
|||||||
const lifeId = await this.getActivityIdFromLife();
|
const lifeId = await this.getActivityIdFromLife();
|
||||||
|
|
||||||
if (lifeId) {
|
if (lifeId) {
|
||||||
|
$.log('等候 3 秒');
|
||||||
|
await $.wait(3000);
|
||||||
|
|
||||||
notifyMsg += `转盘抽奖ID: ${lifeId}\n`;
|
notifyMsg += `转盘抽奖ID: ${lifeId}\n`;
|
||||||
notifyMsg += await this.draw(lifeId);
|
notifyMsg += await this.draw(lifeId);
|
||||||
notifyMsg += '\n\n';
|
notifyMsg += '\n\n';
|
||||||
@@ -35,6 +38,9 @@ class SmzdmLotteryBot extends SmzdmBot {
|
|||||||
const vipId = await this.getActivityIdFromVip();
|
const vipId = await this.getActivityIdFromVip();
|
||||||
|
|
||||||
if (vipId) {
|
if (vipId) {
|
||||||
|
$.log('等候 3 秒');
|
||||||
|
await $.wait(3000);
|
||||||
|
|
||||||
notifyMsg += `转盘抽奖ID: ${vipId}\n`;
|
notifyMsg += `转盘抽奖ID: ${vipId}\n`;
|
||||||
notifyMsg += await this.draw(vipId);
|
notifyMsg += await this.draw(vipId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user