{"id":20008607,"url":"https://github.com/nlr-devteam/simplemiraibot","last_synced_at":"2025-05-04T19:35:10.898Z","repository":{"id":59038370,"uuid":"524077999","full_name":"NLR-DevTeam/SimpleMiraiBot","owner":"NLR-DevTeam","description":"一个轻量级的基于 Mirai 框架的机器人","archived":false,"fork":false,"pushed_at":"2023-04-28T13:12:23.000Z","size":109,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-13T07:10:46.934Z","etag":null,"topics":["bot","java","mirai","qqbot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NLR-DevTeam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-08-12T12:24:41.000Z","updated_at":"2023-04-30T09:38:04.000Z","dependencies_parsed_at":"2024-11-13T07:10:50.976Z","dependency_job_id":null,"html_url":"https://github.com/NLR-DevTeam/SimpleMiraiBot","commit_stats":null,"previous_names":["nlr-devteam/simplemiraibot"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NLR-DevTeam%2FSimpleMiraiBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NLR-DevTeam%2FSimpleMiraiBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NLR-DevTeam%2FSimpleMiraiBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NLR-DevTeam%2FSimpleMiraiBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NLR-DevTeam","download_url":"https://codeload.github.com/NLR-DevTeam/SimpleMiraiBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224406140,"owners_count":17305725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","java","mirai","qqbot"],"created_at":"2024-11-13T07:10:52.076Z","updated_at":"2024-11-13T07:10:53.195Z","avatar_url":"https://github.com/NLR-DevTeam.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 已过时警告\n由于代码不完善以及未知原因，在为 SMB 贡献代码或是插件时可能会出现各种问题，因此我们推荐您使用官方的 [Mirai Console Loader](https://github.com/iTXTech/Mirai-Console-Loader)  \n如果您只想将 SMB 用作聊天用途，请继续阅读。\n\n## Simple-Mirai-Bot\n一个基于 Mirai 框架的多协议轻量级机器人。\n\n*在后文中可能会称 Simple-Mirai-Bot 为 SMB*\n\n### 功能\n目前它支持的功能有:\n\n- 发送消息 (支持解析 Mirai Code)\n- 基础命令系统 (使用 `/help` 查看全部命令)\n- 回复消息 (命令: `/reply`)\n- 撤回消息 (命令: `/recall`)\n- 发送戳一戳 (命令: `/nudge`)\n- 发送语音消息 (命令: `/sendAudio`)\n- 图片操作 (命令: `/image`)\n- 多聊群切换 (命令: `/changeGroup`)\n- 私聊 (命令: `/msg`)\n- 切换协议(在配置文件中设置)\n- 完整 Tab 补全支持\n\n### 扩展\n\nSimple Mirai Bot 有较为完善的扩展系统 \u003cbr\u003e\n*由于 JVM 的特性，它只能加载插件，不能卸载插件* \u003cbr\u003e\n以下为官方扩展:\n\n- [SMBServer - 通过网页使用您的 Simple Mirai Bot](https://github.com/XIAYM-gh/SMB-Server)\n\n### 下载 \u0026 更新\n\n如果您 **第一次使用** Simple-Mirai-Bot，请在 [releases](https://github.com/XIAYM-gh/Simple-Mirai-Bot/releases/latest/)\n中下载最新的 Simple-Mirai-Bot.7z \u003cbr\u003e\n如果您想要 **更新** Simple-Mirai-Bot **本体**\n，请在 [releases](https://github.com/XIAYM-gh/Simple-Mirai-Bot/releases/latest/) 中下载最新的 Simple-Mirai-Bot.jar 并 **\n覆盖** 在 SMB 工作目录.\n\n### 启动\n\n此项目基于 Java 17 编写，使用了许多 Java 17 的新特性，所以 *请务必使用 **Java 17 或更高版本*** 启动 SMB \u003cbr\u003e\n解压后在 Shell / CMD 中输入命令启动 Simple-Mirai-Bot.\n\n在 `Windows` 下:\n```batch\njava -cp mirai-core-all-2.13.2-all.jar;Simple-Mirai-Bot.jar cn.xiaym.simplemiraibot.BotMain\n```\n\n在 `Linux / Unix / MacOS` 系统下:\n```shell\njava -cp mirai-core-all-2.13.2-all.jar:Simple-Mirai-Bot.jar cn.xiaym.simplemiraibot.BotMain\n```\n\n*Enjoy it! xwx*\n\n### 协议\n此项目继承 Mirai 的 AGPLv3 协议，根据此协议，您对于 SMB 的任何修改或引用都必须开放源代码. \u003cbr\u003e\n**此项目不鼓励被商业使用，仅供个人娱乐学习所用，如对您的资产或设备造成的任何损失，本项目开发者不承担责任。** \u003cbr\u003e\n**如使用此项目，则代表您已经阅读并充分理解协议内容。**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlr-devteam%2Fsimplemiraibot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnlr-devteam%2Fsimplemiraibot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlr-devteam%2Fsimplemiraibot/lists"}