diff --git a/lib/core/monitor.js b/lib/core/monitor.js index 8c8044e..46ec3d2 100644 --- a/lib/core/monitor.js +++ b/lib/core/monitor.js @@ -46,7 +46,8 @@ class Monitor extends Searcher { } /** 关注列表初始化 */ this.attentionList = await bili.getAttentionList(global_var.get("myUID")); - switch (await this.startLottery()) { + const status = await this.startLottery(); + switch (status) { case 0: event_bus.emit('Turn_on_the_Monitor') break; @@ -86,7 +87,7 @@ class Monitor extends Searcher { event_bus.emit('Turn_off_the_Monitor', '获取关注数失败') break default: - event_bus.emit('Turn_off_the_Monitor', '??? 未知错误') + event_bus.emit('Turn_off_the_Monitor', `??? 未知错误: ${status}`) break; } } @@ -178,6 +179,7 @@ class Monitor extends Searcher { case 1005: case 1006: case 1007: + case 1008: case 2002: case 2003: case 4001: @@ -522,6 +524,7 @@ class Monitor extends Searcher { * - 评论 已被对方拉入黑名单 1005 * - 评论 黑名单用户无法互动 1006 * - 评论 UP主已关闭评论区 1007 + * - 评论 内容包含敏感信息 1008 * - 关注 未知错误 2001 * - 关注 您已被对方拉入黑名单 2002 * - 关注 黑名单用户无法关注 2003