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-10-14 05:33:05 +08:00
parent c7485b887b
commit 7118ecf5a1

View File

@ -140,7 +140,7 @@ export default class user {
item.awards = awards?.name + "*" + awards?.cnt item.awards = awards?.name + "*" + awards?.cnt
} }
upData.push(item) upData.push(item)
await utils.sleepAsync(500) //等几毫秒免得请求太频繁了 await utils.randomSleepAsync()
} }
} catch (e) { } catch (e) {
Bot.logger.error(`${forum.name} 签到失败 [${res?.message}]`); Bot.logger.error(`${forum.name} 签到失败 [${res?.message}]`);