UNPKG

easy-api.ts

Version:

A powerful library to create your own API with ease.

14 lines (13 loc) 485 B
import { type CompiledFunction } from "../../classes/internal/CompiledFunction"; import { APIFunction, ParamType } from "../../classes/structures/APIFunction"; import { type Data } from "../../classes/structures/Data"; export default class Uptime extends APIFunction { name: string; description: string; parameters: never[]; usage: string; returns: ParamType; compile: boolean; aliases: never[]; run(this: CompiledFunction, d: Data): Promise<string>; }