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
/
login
/
device.d.ts
8 lines
(7 loc)
•
270 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
type
{
OEConf
}
from
'../config'
;
import
type
{
Client
}
from
'oicq'
;
/** 设备锁验证监听处理函数 */
export
declare
function
deviceHandler
(
this
:
Client
,
device_mode
:
OEConf
[
'device_mode'
],
event
: { url:
string
; phone:
string
; }
):
Promise
<
void
>;