Files
NapCatQQ/src/onebot/action/system/CanSendRecord.ts
T
2024-11-21 11:16:25 +08:00

17 lines
394 B
TypeScript

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