A simple API to shorten code with a Discord.JS V12.
$ npm install recon-utility
$ npm install moment
- DaysAgo - check how many days ago was it using date format
// Using Node.js `require()`
const recon = require("recon-utility");
// Using ES6 imports
import recon from "recon-utility";
// Example on checking how long the member's account was created.
// Import the package
const { daysAgo } = require('recon-utility');
// Destructure the package
const discord = require("discord.js");
const member = message.mentions.members.first()
const var = daysAgo(member, message)
message.channel.send(var)