Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

v2.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Aug 14:02
· 1489 commits to main since this release

v2.7.0

  • mirai版本升级到v2.7.0
  • 修复因为发送频率过快导致服务器无应答直接抛出TimeOutEvent #76
  • 增加发送消息retry机制 #76
  • 增加测试框架
  • 支持dll加载依赖的dll
  • 增加nextMessage支持
  • 增加戳一戳和戳一戳事件支持
  • 让loader先登录再加载插件,以在onEnable取到bot
  • 简化不必要的cmake代码
  • 增加和删除一些命令
  • plugin支持命令
  • loader端和plugin端配置文件格式更改
    • plugin端的配置文件从miraiCP.txt 要重命名为miraiCP.json, 然后内容为以下格式:
      {
      	"pluginConfig":[{
      		"path":"\\cmake-build-debug\\MiraiCP.dll",
      		"dependencies":[]
      	}]
      }
      
      dependencies项是dll的依赖,如果没有就不填,上面的是dll路径
    • loader配置文件文件名不变,格式为:
      {
        "accounts": [{
      	"id": ,
      	"passwords": ""
        }],
        "cppPaths":[
      	{
      	  "path":"\\cmake-build-debug\\MiraiCP.dll",
      	  "dependence": []
      	}
        ]
      }