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