useMirai

同时安装使用 MiraiComponentMiraiBotManager.

e.g.

simbotApplication(Foo) {
useMirai {
component {
// config MiraiComponent...
}

botManager {
// config MiraiBotManager...
}
}
// ...
}
simbotApplication(Foo) {
useMirai()
}

See also