We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbcd4ac commit 9cb9ea1Copy full SHA for 9cb9ea1
README.md
@@ -6,7 +6,8 @@
6
7
作为插件运行时会提供 `BotConfigurationAlterer` 服务,自动替换 `configuration.deviceInfo = generator::load`
8
如果要重新生成 `DeviceInfo`,删掉 `mcl/bots/.../device.json` 就好
9
-作为 `mirai-core` 库引用时, 请自行调用 `configuration.deviceInfo = generator::load`
+
10
+作为 `mirai-core` 项目的[maven库引用](https://search.maven.org/artifact/xyz.cssxsh.mirai/mirai-device-generator)时, 请自行调用 `configuration.deviceInfo = generator::load`
11
目前模拟的设备信息较少,有需求的可以到 issue 提需求,或者直接 pr
12
需要自定义 model 信息的,请按照 [folder](src/main/resources/xyz/cssxsh/mirai) 中的 json 文件格式
13
在 `data/mirai-device-generator/` 文件夹中创建同名文件
0 commit comments