Closed Sakamakiiizayoi closed 4 months ago
忘记给签到函数加上开关了,手动修改文件就可以了
https://github.com/Ljzd-PRO/nonebot-plugin-mystool/blob/b8377d240de800642fe4b85b74a9e92c1016c43a/src/nonebot_plugin_mystool/command/plan.py#L675 ```python async def weibo_sign_check(user: UserData, user_ids: Iterable[str], matcher: Matcher = None): """ :param user: 用户对象 :param user_ids: 发送通知的所有用户ID :param matcher: nonebot ``Matcher`` """ if user.enable_weibo: for user_data in user.weibo: msg = await WeiboSign.sign(user, user_data) if matcher: await matcher.send(message=msg) else: for user_id in user_ids: await send_private_msg(user_id=user_id, message=msg) else: message = "未开启微博自动签到功能" if matcher: await matcher.send(message) ```
关闭微博签到兑换后,每日任务执行1小时候后还是会执行微博签到