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