Files
NapCatQQ/src/onebot/action/extends/GetRobotUinRange.ts
T

13 lines
434 B
TypeScript

import BaseAction from '../BaseAction';
import { ActionName } from '../types';
export class GetRobotUinRange extends BaseAction<void, Array<any>> {
actionName = ActionName.GetRobotUinRange;
protected async _handle(payload: void) {
// console.log(await NTQQUserApi.getRobotUinRange());
const NTQQUserApi = this.CoreContext.getApiContext().UserApi;
return await NTQQUserApi.getRobotUinRange();
}
}