mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-07-22 21:13:47 +08:00
feat: 未知错误不重试
This commit is contained in:
+2
-2
@@ -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)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user