easy-api.ts
Version:
A powerful library to create your own API with ease.
1 lines • 550 B
JavaScript
Object.defineProperty(exports,"__esModule",{value:!0});let APIFunction_1=require("../../classes/structures/APIFunction");class LowerCase extends APIFunction_1.APIFunction{name="$lowercase";description="Converts a text to lowercase.";parameters=[{name:"Text",description:"The text to be converted.",type:APIFunction_1.ParamType.String,required:!0,rest:!1,defaultValue:null}];usage="$lowercase[text]";returns=APIFunction_1.ParamType.String;aliases=["$toLowerCase","$lower"];compile=!0;async run(e,[t]){return t.toLowerCase()}}exports.default=LowerCase;