(status)
| 182 | } |
| 183 | |
| 184 | async handleStatus(status) { |
| 185 | if (status.signed) { |
| 186 | $.log(`账号[${this.index}] 今日已签到,连续签到 ${status.continuous ?? "未知"} 天`); |
| 187 | return; |
| 188 | } |
| 189 | |
| 190 | await this.doSign(); |
| 191 | const after = await this.signBanner(); |
| 192 | $.log(`账号[${this.index}] 签到成功,连续签到 ${after.continuous ?? "未知"} 天`); |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | !(async () => { |
no test coverage detected