easy-api.ts
Version:
A powerful library to create your own API with ease.
1 lines • 406 B
JavaScript
Object.defineProperty(exports,"__esModule",{value:!0});let APIFunction_1=require("../../classes/structures/APIFunction");class Hours extends APIFunction_1.APIFunction{name="$dateHours";description="Gets the hours in a date, using local time.";parameters=[];usage=this.name;returns=APIFunction_1.ParamType.Number;aliases=[];compile=!1;async run(e){return e.date.getHours().toString()}}exports.default=Hours;