simple-robot / simbot-component-mirai

simple-robot下的mirai组件
https://component-mirai.simbot.forte.love/
GNU Affero General Public License v3.0
20 stars 0 forks source link

调整bot配置文件结构 #23

Closed ForteScarlet closed 2 years ago

ForteScarlet commented 2 years ago

将除了 componentcodepasswordpasswordMD5passwordMD5Bytes 以外的属性同意移动到 config 属性下。

修改前:

{
   "component": "simbot.mirai",
   "code": 123,
   "password": "xxxxxx",
   "...": "...", // 其他配置
} 

修改后:

{
   "component": "simbot.mirai",
   "code": 123,
   "password": "xxxxxx",
   "config": {
      "...": "...", // 其他配置
   }
}