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