Files
LLOneBot/src/onebot11/action/CanSendRecord.ts
2024-03-03 00:22:07 +08:00

16 lines
351 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
}
}
}