mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
docs: add
This commit is contained in:
parent
f098b39200
commit
cea9e11c83
@ -2,6 +2,7 @@ import { DeviceList } from '@/onebot11/main';
|
||||
import BaseAction from '../BaseAction';
|
||||
import { ActionName } from '../types';
|
||||
import { JSONSchema } from 'json-schema-to-ts';
|
||||
import { NTQQSystemApi } from '@/core';
|
||||
|
||||
const SchemaData = {
|
||||
type: 'object',
|
||||
@ -14,6 +15,7 @@ export class GetOnlineClient extends BaseAction<void, Array<any>> {
|
||||
actionName = ActionName.GetOnlineClient;
|
||||
|
||||
protected async _handle(payload: void) {
|
||||
//console.log(await NTQQSystemApi.getOnlineDev());
|
||||
return DeviceList;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user