recon-utility

1.0.5 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i recon-utility

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

5.21 kB

Total Files

9

Last publish

Collaborators

  • lixun_