This commit is contained in:
手瓜一十雪 2024-12-12 09:34:13 +08:00
parent 002d135ef5
commit 4fbd764ced

View File

@ -109,10 +109,10 @@ export class NapCatOneBot11Adapter {
//创建NetWork服务 //创建NetWork服务
// 注册Plugin // 注册Plugin 如果需要基于NapCat进行快速开发
this.networkManager.registerAdapter( // this.networkManager.registerAdapter(
new OB11PluginAdapter('plugin', this.core, this,this.actions) // new OB11PluginAdapter('plugin', this.core, this,this.actions)
); // );
for (const key of ob11Config.network.httpServers) { for (const key of ob11Config.network.httpServers) {
if (key.enable) { if (key.enable) {
this.networkManager.registerAdapter( this.networkManager.registerAdapter(