import BaseAction from '../BaseAction'; import { ActionName } from '../types'; export default class GetStatus extends BaseAction { actionName = ActionName.GetStatus; async _handle(payload: any): Promise { return { online: !!this.core.selfInfo.online, good: true, stat: {}, }; } }