UNPKG
@oebot/core
Version:
latest (0.8.6)
0.8.6
0.8.5
0.8.4
0.8.3
能跑就行的 QQ 机器人框架,基于 oicq v2,改自KiviBot(R.I.P.)
docs.d3ft.cn.eu.org/oebot/
@oebot/core
/
lib
/
core
/
plugin
/
loadPlugins.d.ts
11 lines
(10 loc)
•
317 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
type
{
OEConf
}
from
'../config'
;
import
type
{
Client
}
from
'oicq'
;
/** 检索并加载 node_modules 和 plugins 目录下的插件 */
export
declare
function
loadPlugins
(
bot
:
Client
,
oeConf
:
OEConf
):
Promise
<{
plugins
:
string
[];
all
:
number
;
npm
:
number
;
local
:
number
;
cnt
:
number
; }>;