feat: 程序在请求多次输入验证码时切换下一个账号 (#167)

fixed: #167
This commit is contained in:
shanmite 2022-07-19 11:44:03 +08:00
parent e03b4832e4
commit ca6549dc6f

View File

@ -173,6 +173,8 @@ class Monitor extends Searcher {
case 1002: case 1002:
case 1003: case 1003:
case 1004: case 1004:
is_shutdown = true;
break;
case 1005: case 1005:
case 1006: case 1006:
case 1007: case 1007:
@ -550,7 +552,7 @@ class Monitor extends Searcher {
if (rid && chat_type) { if (rid && chat_type) {
status = await retryfn( status = await retryfn(
5, 6,
[1, 4], [1, 4],
() => bili.sendChat( () => bili.sendChat(
rid, rid,