增加签到推送到群聊功能
类似xutheringwavesuid一样可以分群签到后分群推送消息到群内
可以测试一下
测试了一下,能触发签到但是消息没有推送到群聊中;
[2026-05-02 08:00:00] [INFO] [core] [NTE签到] 定时任务开始 [2026-05-02 08:00:00] [INFO] [core] [SignState] 创建状态文件: type=auto, total=None [2026-05-02 08:00:00] [INFO] [core] [RoverSign] 定时任务签到所有账号 [2026-05-02 08:00:00] [INFO] [core] [RoverSign] 总用户数:3 [2026-05-02 08:00:00] [INFO] [core] 📊 [StatisticsManager] 每30分钟定时持久化完成 [2026-05-02 08:00:27] [INFO] [core] [NTE签到] 定时任务完成: 异环定时签到(全员): 塔吉多账号:2 个 完成 2:✅ 成功 2 塔吉多 App 签到:✅ 2 ⏭️ 0 ❌ 0 异环 游戏签到:✅ 2 ⏭️ 0 ❌ 0(2 角色) 社区·浏览帖子:✅ 2 ⏭️ 0 ❌ 0 社区·点赞帖子:✅ 2 ⏭️ 0 ❌ 0 社区·分享帖子:✅ 2 ⏭️ 0 ❌ 0 [2026-05-02 08:00:40] [INFO] [core] [推送] BoardcastTypeEnum.SIGN_WAVES 任务启动... [2026-05-02 08:00:40] [INFO] [core] [推送] BoardcastTypeEnum.SIGN_WAVES 私聊推送完成! [2026-05-02 08:00:40] [INFO] [core] [发送消息to] *** - group - *** [2026-05-02 08:00:42] [INFO] [core] [推送] BoardcastTypeEnum.SIGN_WAVES 群聊推送完成! [2026-05-02 08:00:42] [INFO] [core] [推送] BoardcastTypeEnum.SIGN_WAVES 任务结束! [2026-05-02 08:00:42] [INFO] [core] [推送] BoardcastTypeEnum.SIGN_WAVES 任务启动... [2026-05-02 08:00:42] [INFO] [core] [推送] BoardcastTypeEnum.SIGN_WAVES 私聊推送完成! [2026-05-02 08:00:42] [INFO] [core] [发送消息to] *** - group - *** [2026-05-02 08:00:46] [INFO] [core] [推送] BoardcastTypeEnum.SIGN_WAVES 群聊推送完成! [2026-05-02 08:00:46] [INFO] [core] [推送] BoardcastTypeEnum.SIGN_WAVES 任务结束! [2026-05-02 08:00:46] [INFO] [core] [SignState] 删除状态文件(签到已完成) [2026-05-02 08:04:01] [INFO] [core] [异环公告] 定时任务: 异环公告查询.. [2026-05-02 08:04:01] [INFO] [core] [异环公告] 暂无群订阅
然后是gscore内的设置:
不确定是不是我设置的有问题
需要重新发送命令 nte开启自动签
又试了一下,发送开启 nte开启自动签 后触发了命令且机器人有开启成功的反馈。到了自动签到的时间还是签到执行但是不会向群内发送消息。
[2026-05-02T02:15:55.000Z] [INFO] [收到事件] event_payload=Event(bot_id='onebot', bot_self_id='', msg_id='', user_type='group', group_id='', user_id='', sender={'user_id': '', 'nickname': '', 'card': '', 'role': 'admin', 'level': '100', 'title': '', 'avatar': ''}, user_pm=1, content=[Message(type='text', data='nte开启自动签')], WS_BOT_ID='yunzai', task_id='', task_event=None, real_bot_id='onebot', raw_text='nte开启自动签', command='', text='nte开启自动签', image=None, image_list=[], image_id=None, image_id_list=[], at=None, at_list=[], is_tome=False, reply=None, file_name=None, file=None, file_type=None, regex_group=(), regex_dict={}) [2026-05-02T02:15:55.000Z] [INFO] [命令触发] trigger=['nte开启自动签', 'fullmatch', '开启自动签'] [2026-05-02T02:15:55.000Z] [INFO] [命令触发] command=Event(bot_id='onebot', bot_self_id='', msg_id='', user_type='group', group_id='', user_id='', sender={'user_id': '', 'nickname': 'sssysy', 'card': '', 'role': 'admin', 'level': '100', 'title': '', 'avatar': ''}, user_pm=1, content=[Message(type='text', data='nte开启自动签')], WS_BOT_ID='yunzai', task_id='2755bd71-3c44-480f-84f8-a981f4ef2788', task_event=None, real_bot_id='onebot', raw_text='nte开启自动签', command='开启自动签', text='', image=None, image_list=[], image_id=None, image_id_list=[], at=None, at_list=[], is_tome=False, reply=None, file_name=None, file=None, file_type=None, regex_group=(), regex_dict={}) [2026-05-02T02:15:57.000Z] [INFO] [发送消息to] onebot - group - *** [2026-05-02T02:18:00.000Z] [INFO] [NTE签到] 定时任务开始 [2026-05-02T02:18:01.000Z] [INFO] [NTE签到] 定时任务完成: 异环定时签到(全员): 塔吉多账号:2 个 完成 2:⏭️ 已签 2
还是说已签过后不会发送签到消息?已签不会发消息的话我明天再试试
又试了一下,发送开启
nte开启自动签后触发了命令且机器人有开启成功的反馈。到了自动签到的时间还是签到执行但是不会向群内发送消息。[2026-05-02T02:15:55.000Z] [INFO] [收到事件] event_payload=Event(bot_id='onebot', bot_self_id='', msg_id='', user_type='group', group_id='', user_id='', sender={'user_id': '', 'nickname': '', 'card': '', 'role': 'admin', 'level': '100', 'title': '', 'avatar': ''}, user_pm=1, content=[Message(type='text', data='nte开启自动签')], WS_BOT_ID='yunzai', task_id='', task_event=None, real_bot_id='onebot', raw_text='nte开启自动签', command='', text='nte开启自动签', image=None, image_list=[], image_id=None, image_id_list=[], at=None, at_list=[], is_tome=False, reply=None, file_name=None, file=None, file_type=None, regex_group=(), regex_dict={}) [2026-05-02T02:15:55.000Z] [INFO] [命令触发] trigger=['nte开启自动签', 'fullmatch', '开启自动签'] [2026-05-02T02:15:55.000Z] [INFO] [命令触发] command=Event(bot_id='onebot', bot_self_id='', msg_id='', user_type='group', group_id='', user_id='', sender={'user_id': '', 'nickname': 'sssysy', 'card': '', 'role': 'admin', 'level': '100', 'title': '', 'avatar': ''}, user_pm=1, content=[Message(type='text', data='nte开启自动签')], WS_BOT_ID='yunzai', task_id='2755bd71-3c44-480f-84f8-a981f4ef2788', task_event=None, real_bot_id='onebot', raw_text='nte开启自动签', command='开启自动签', text='', image=None, image_list=[], image_id=None, image_id_list=[], at=None, at_list=[], is_tome=False, reply=None, file_name=None, file=None, file_type=None, regex_group=(), regex_dict={}) [2026-05-02T02:15:57.000Z] [INFO] [发送消息to] onebot - group - *** [2026-05-02T02:18:00.000Z] [INFO] [NTE签到] 定时任务开始 [2026-05-02T02:18:01.000Z] [INFO] [NTE签到] 定时任务完成: 异环定时签到(全员): 塔吉多账号:2 个 完成 2:⏭️ 已签 2
还是说已签过后不会发送签到消息?已签不会发消息的话我明天再试试
已签的不会发了。
功能没问题了,谢谢大佬