0.4.1 • Published 3 years ago

monmon v0.4.1

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

What is MonMon Package

A cool package made for Discord.js

Features

  • 🎉 Easy to use
  • 🧑 Beginner friendly
  • ✨ Simple
  • and much more!

Table Of Content

Installation

$ npm i monmon

RandomStuff

RandomJoke

    const { random } = require('monmon')
    const monmon = new random()
    monmon.joke(message, {
        embedTitle: 'embed title here',
        embedColor: 'hex here',
        embedFooter: 'embed footer here'
})

RandomQuote

    const { random } = require('monmon')
    const monmon = new random()
    monmon.quote(message, {
        embedTitle: 'embed title here',
        embedColor: 'hex here',
	embedFooter: 'embed footer here'
})

Search

Play-Store-Search

const monmon = require('monmon')
monmon.playstore(message, args, {
        embedTitle: 'embed title here',
        embedColor: 'hex here'
})

iTunes-Search

const monmon = require('monmon')
monmon.iTunes(message, args, {
        embedTitle: 'embed title here',
        embedColor: 'hex here'
})

NPM-Search

const monmon = require('monmon')
monmon.npm(message, args, {
        embedTitle: 'embed title here',
        embedColor: 'hex here'
})

Utility

RandomizeNumbers

const { randomizeNumber } = require('monmon');
const monmon = randomizeNumber({min: 1,max: 10});
console.log(monmon)
/*
Random number between 1 and 10
*/

RandomizeArray

const { randomizeArray } = require('monmon');
const test = ["hi","hello","bye" , "goodbye"]
const monmon = randomizeArray({array: test});
console.log(monmon)
/*
Random string from test array
*/

RandomCase

const { randomCase } = require('monmon');
const monmon = randomCase({string: "hello there"});
console.log(monmon)
/*
output : heLlo TheRe
*/

RandomHexColor

const { randomHexColor } = require('monmon');
const monmon = randomHexColor();
console.log(monmon)
/*
Random hex color
*/

FlipWords

const { flip } = require('monmon');
const monmon = flip({word: "hello there"});
console.log(monmon)
/*
output : ǝɹǝɥʇ ollǝɥ
*/

ReverseText

const { reverseText } = require('monmon');
const monmon = reverseText({text: "Good Morning"});
console.log(monmon)
/*
output : gninroM dooG
*/

Sudo

const { sudo } = require('monmon');
const user = message.mentions.members.first();
const args = args.slice(1).join(" ");
const monmon = sudo(message, args, {
    member: user
});
0.4.1

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.4

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago