{"id":48891393,"url":"https://github.com/hcskia/fu-bot","last_synced_at":"2026-04-16T08:05:15.952Z","repository":{"id":146904401,"uuid":"610586799","full_name":"HCskia/fu-Bot","owner":"HCskia","description":"基于nonebot与go-cqhttp的QQ娱乐bot，提供群日常娱乐功能与舞萌DX游戏相关的信息查询功能。","archived":false,"fork":false,"pushed_at":"2024-06-08T10:51:18.000Z","size":162,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-08T11:53:47.661Z","etag":null,"topics":["bot","go-cqhttp","maimai","nonebot","qqbot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HCskia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-07T04:12:17.000Z","updated_at":"2024-06-08T10:51:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"a10e1263-52d4-44b9-a457-416d958b28fc","html_url":"https://github.com/HCskia/fu-Bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HCskia/fu-Bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HCskia%2Ffu-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HCskia%2Ffu-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HCskia%2Ffu-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HCskia%2Ffu-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HCskia","download_url":"https://codeload.github.com/HCskia/fu-Bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HCskia%2Ffu-Bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31876860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T07:36:03.521Z","status":"ssl_error","status_checked_at":"2026-04-16T07:35:53.576Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","go-cqhttp","maimai","nonebot","qqbot"],"created_at":"2026-04-16T08:04:20.958Z","updated_at":"2026-04-16T08:05:15.946Z","avatar_url":"https://github.com/HCskia.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fu-Bot\n基于[nonebot](https://github.com/nonebot/nonebot2)和[LLOneBot](https://github.com/LLOneBot/LLOneBot)的QQ娱乐机器人，具有聊天娱乐与**舞萌DX**游戏信息查询等相关功能。\n\n**GitHub**：[fu-Bot](https://github.com/HCskia/fu-Bot)\n\n## 1. 前置\n### 安装Python\n此项目基于**Python 3.9.12**，建议使用**版本大于或等于 3.8 或者小于 4.0 的Python**添加到环境变量中使用。\n\nPython下载：https://www.python.org/\n\n### 前置资源\n在开始使用此项目之前，请先下载项目资源文件并解压到项目 src 文件夹中：\n\u003e下载链接：[夸克盘 提取码KT8u](https://pan.quark.cn/s/479166d6b8aa)  [Google云](https://drive.google.com/file/d/1Na8i6xHrzQy8Neg1DMESW5cQJb3bjjws/view?usp=drive_link)\n\u003e\n\u003e声明：此资源文件仅供学习参考交流使用，严禁用于商业用途，下载后请于24小时内删除。\n\n## 2. 项目使用\n可以直接将项目文件下载到本地使用 [Download ZIP](https://github.com/HCskia/fu-Bot/archive/refs/heads/main.zip)或者使用git来进行项目版本管理。\n\n请安装 requirement.txt 中的插件：\n\u003epip install -r requirement.txt\n\n### 下载 LLOneBot API\n在 [LLOneBot API](https://llonebot.github.io/zh-CN/guide/getting-started) 下载 LLOneBot API 的最新版本\n并且按照[LLOneBot文档](https://llonebot.github.io/zh-CN/guide/getting-started)安装LLOneBot至QQ\n\n之后请设置ws反向代理，地址为\n\u003ews://127.0.0.1:10219/onebot/v11/ws\n## 3. 功能\n\n**普通功能**:\n\nCommand | Function\n--- | ---\nfu help | 返回指令帮助\n\u003c[戳一戳]\u003e | 发送戳一戳相关图片(可自定义)\n\u003c[当有新群成员]\u003e | 发送欢迎相关图片和信息(可自定义)\n\u003c[复读]\u003e | 当某一个群聊中信息重复四次以上时复读一次\n\u003c[每日新闻]\u003e | 每天早上8点自动发送每日要闻\nxxxxx吃啥 | 发送\"建议xxxxx吃(一个随机食物)\"(可自定义)\n请fufu吃xxxxx | 给吃啥功能添加食物\nph add \u003cid\u003e | 添加一个可迫害的id (id数量大于一个时为别名，用英文逗号分割)\nph\u003cid\u003e \u003c[附带一张迫害图片]\u003e | 添加图片到可迫害的id中\nph\u003cid\u003e | 随机返回一张此迫害id的图片\nph list | 查询ph列表\nph rank | 获取迫害排行榜(根据迫害图片数量)\n\u003c[B站分享]\u003e | 解析群聊中的b站分享信息\n\n**舞萌功能**：\nCommand | Function\n--- | ---\n今日fu | 获取今日运势\nb40/b50 | 生成b40或b50图片\n\u003c难度等级\u003e分数列表 \u003c页数[可选]\u003e | 生成分数列表图片 页数为0时返回全部数据\n定数算分 \u003c定数\u003e \u003c完成度\u003e | 返回根据在该定数下达成相应完成度的rating值\n随个\u003cdx/sd[可选]\u003e\u003c绿/黄/红/紫/白[可选]\u003e\u003c难度\u003e | 随歌\n搜曲\u003c歌曲标题的一部分\u003e | 搜索相应的歌曲\n\u003c绿/黄/红/紫/白[可选]\u003eid\u003c歌曲id\u003e | 查询谱面信息\n谱面分数线 \u003c绿/黄/红/紫/白\u003e\u003c歌曲id\u003e \u003c完成度\u003e | 查询谱面在该完成度下所需容错率\n分算定数 \u003crating值\u003e | 返回可以达成该分数的相应定数与完成度\n添加别名 \u003c歌曲id\u003e \u003c别名\u003e | 添加此id的歌曲别名\n删除别名 \u003c歌曲id\u003e \u003c别名\u003e | 删除在id中的歌曲的这个别名\n\u003c别名\u003e是什么歌 | 通过别名搜索歌曲\n\u003c难度\u003e天梯图 | 获取该难度的谱面定数天梯图\n\u003c版本简称\u003e代完成表 | 生成根据等级排列的该代谱面完成表\ndx店铺 \u003c地区\u003e \u003c参数[可选]\u003e | 返回该地区的舞萌DX机台铺货参数\n\n**其他功能**：\nCommand | Function\n--- | ---\nchu店铺 \u003c地区\u003e \u003c参数[可选]\u003e | 返回该地区的中二节奏机台铺货参数\n\n## 更多\neat.json文件：\n```\n{\"eat\": [],\"blackword\":[]}\n```\n \"eat\" 中存放的是 [食物] , \"blackword\" 中存放的是 [黑名单词语]\n当用户使用请小fufu吃的功能时，如果输入的食物字符串与黑名单词语中的字符串相同，同时bot也有管理员权限，该用户会被禁言1~10分钟（随机），这两个地方的内容可以自行定义添加。\n\ntodayFu.json文件：\n```\n{\"今日运势\":[\"name\":\"\",\"good\",\"\",\"bad\":\"\"],\"今日游戏\":[\"\"],\"移动端地点\":[\"\"],\"maimai黄金位\":[\"\"]}\n```\n 通过修改此文件，可自定义今日运势中的信息。\n\n musicAliases.json文件：\n ```\n [{\"id\": 8, \"title\": \"True Love Song\", \"alias\": [\"true love song\", \"真爱歌\", \"G弦上的咏叹调\", \"巴赫\", \"老八\", \"既实惠还管饱\"]}]\n ```\n 通过修改此文件，可直接自定义乐曲别名。\n\npohai文件夹：\npohai文件夹的子文件夹用为存储迫害对象的迫害图片，子文件夹的命名方式为“id,alias,alias2”(不带引号，用英文逗号分隔)，其中alias为别名。\n\u003e例如 static/images/pohai/hc,hcskia\n\u003e\n\u003ephhc 等于 phhcskia\n\npoke文件夹：\npoke文件夹用于存储戳一戳表情包，可以自行添加自己想要的戳一戳表情包。\n\nwelcome文件夹：\nwelcome文件夹用于存储欢迎新成员时的图像，可以自行添加自己想要图片文件。\n\n## 更新\n**2023-3-8** 发布\n  \n**2023-4-3** B站解析修复\n  \n**2023-4-6** 支持哔哩哔哩HD客户端分享的解析\n\n**2024-3-26** 因go-cqhttp停止支持，所以更换至LLOneBot API\n\n**2024-6-6** 因舞萌更新至2024，所以切换了B50风格，更新请重新下载static资源包\n## 感谢\n\n**nonebot：**[GitHub](https://github.com/nonebot/nonebot2)\n\n**LLOneBot：**[GitHub](https://github.com/LLOneBot/LLOneBot)\n\n**go-cqhttp：**[GitHub](https://github.com/Mrs4s/go-cqhttp)\n\n**Diving-Fish(mai歌曲信息数据)：**[GitHub](https://github.com/Diving-Fish)，[查分器](https://www.diving-fish.com/maimaidx/prober/)\n\n# License\n\nMIT\n\n您可以自由使用本项目的代码用于商业或非商业的用途，但必须附带 MIT 授权协议。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhcskia%2Ffu-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhcskia%2Ffu-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhcskia%2Ffu-bot/lists"}