Files
NapCatQQ/src/onebot11/action/system/CanSendRecord.ts
T
2024-04-27 16:05:59 +08:00

17 lines
343 B
TypeScript

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