mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
16 lines
348 B
TypeScript
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
|
|
}
|
|
}
|
|
} |