LLOneBot/src/onebot11/action/CanSendRecord.ts
2024-02-20 03:25:16 +08:00

16 lines
348 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): Promise<ReturnType>{
return {
yes: true
}
}
}