mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
feat: 未知错误不重试
This commit is contained in:
parent
50c22a4ecf
commit
0ab5ec0540
@ -603,7 +603,7 @@ class Monitor extends Searcher {
|
||||
|
||||
status = await retryfn(
|
||||
6,
|
||||
[1, 4],
|
||||
[4, 8, 9],
|
||||
() => bili.sendChat(
|
||||
rid,
|
||||
is_repost_then_chat ? relay_chat.split('//')[0] : chat,
|
||||
@ -669,7 +669,7 @@ class Monitor extends Searcher {
|
||||
if (dyid) {
|
||||
status = await retryfn(
|
||||
5,
|
||||
[1, 3, 4],
|
||||
[3, 4],
|
||||
() => bili.autoRelay(global_var.get("myUID"), dyid, relay_chat, ctrl)
|
||||
)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user