# lua-mirai-scripts **Repository Path**: chorblack/lua-mirai-scripts ## Basic Information - **Project Name**: lua-mirai-scripts - **Description**: 自建的lua-mirai脚本仓库 - **Primary Language**: Lua - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 1 - **Created**: 2021-02-20 - **Last Updated**: 2023-04-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # lua-mirai-scripts #### 介绍 自建的lua-mirai脚本仓库,[项目地址](http://ooooonly.gitee.io/lua-mirai-doc/#) #### 软件架构 能用就行( #### 使用说明 1. 单独使用: * 在脚本里添加以下代码,并在cmd中运行:java -jar lua-mirai.jar exec xxx.lua * local bot = Bot(qq号,"qq密码") --替换为账号密码(当然,你也可以指定设备比如多一个参数"device.json") * bot:login() --登录bot * bot:join() --防止退出,在console内可不需要调用 2. 当作mirai-console的插件: * 将lua-mirai.jar添加到plugins里,然后在控制台输入/lua自己添加 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 关于BUG 1. 有bug建议提issue,虽然我可能看不见(