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
/
enablePlugin.d.ts
5 lines
(4 loc)
•
238 B
TypeScript
View Raw
1
2
3
4
5
import
type
{
OEConf
}
from
'../config'
;
import
type
{
Client
}
from
'oicq'
;
/** 通过插件模块路径启用单个插件 */
export
declare
function
enablePlugin
(
bot
:
Client
,
oeConf
:
OEConf
,
pluginPath
:
string
):
Promise
<
string
|
true
>;