easy-api.ts
Version:
A powerful library to create your own API with ease.
1 lines • 417 B
JavaScript
Object.defineProperty(exports,"__esModule",{value:!0});let APIFunction_1=require("../../classes/structures/APIFunction");class Euler extends APIFunction_1.APIFunction{name="$pi";description="Pi. This is the ratio of the circumference of a circle to its diameter.";parameters=[];usage=this.name;returns=APIFunction_1.ParamType.Number;aliases=[];compile=!0;async run(e){return Math.PI.toString()}}exports.default=Euler;