import { OneBotAction } from '@/onebot/action/OneBotAction'; import { ActionName } from '@/onebot/action/router'; interface ResponseType{ online: boolean; good: boolean; stat: unknown; } export default class GetStatus extends OneBotAction { override actionName = ActionName.GetStatus; async _handle(): Promise { return { online: !!this.core.selfInfo.online, good: true, stat: {}, }; } }