import { OneBotAction } from '@/onebot/action/OneBotAction'; import { ActionName } from '@/onebot/action/router'; interface ReturnType { yes: boolean; } export default class CanSendRecord extends OneBotAction { actionName = ActionName.CanSendRecord; async _handle(_payload: void): Promise { return { yes: true, }; } }