1.0.5 • Published 3 years ago

recon-utility v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

recon-utility

A simple API to shorten code with a Discord.JS V12.


📝 Table of contents


Installation

NodeJS Moment

$ npm install recon-utility
$ npm install moment

🛠 Usages (Click on it for more info on how to use it)

  • DaysAgo - check how many days ago was it using date format

✈ Importing

// Using Node.js `require()`
const recon = require("recon-utility");

// Using ES6 imports
import recon from "recon-utility";

🔧 Usages


DaysAgo

// 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)