add plugin loader support

This commit is contained in:
crazywhalecc
2022-12-19 01:45:27 +08:00
parent 52a195aca2
commit cd2bb1b570
18 changed files with 373 additions and 96 deletions

View File

@@ -71,7 +71,8 @@ $config['plugin'] = [
/* 内部默认启用的插件 */
$config['native_plugin'] = [
'onebot12' => true,
'onebot12' => true, // OneBot v12 协议支持
'onebot12-ban-other-ws' => true, // OneBot v12 协议支持,禁止其他 WebSocket 连接
];
/* 静态文件读取器 */