easy-api.ts
Version:
A powerful library to create your own API with ease.
14 lines (13 loc) • 476 B
TypeScript
import { CompiledFunction } from "../../classes/internal/CompiledFunction";
import { APIFunction, ParamType } from "../../classes/structures/APIFunction";
import { Data } from "../../classes/structures/Data";
export default class Minutes extends APIFunction {
name: string;
description: string;
parameters: never[];
usage: string;
returns: ParamType;
aliases: never[];
compile: boolean;
run(this: CompiledFunction, d: Data): Promise<string>;
}