dogeutil
v1.1.6
Published
![npm](https://img.shields.io/npm/v/dogeutil?color=%2300bbff&style=flat-square) ![Discord](https://img.shields.io/discord/803274370976841801?color=%2300bbff&label=Discord&logo=Discord&style=flat-square)
Downloads
6
Readme
DogeUtil
Welcome to DogeUtil the package that can do util, Obviously if you look by its name. This is a npm package which returns lists and does functions! This is also a image library.
Update Log:
- Added calculator
- Added discord invite list.
- Added images so it will pick a random image
Uses
Calculator is used for a calculator, Obviously. Discord invites are used for the discord.js package
Images:
dogeutil = require("dogeutil")
dogeutil.lists.images.irl()
How to use
This is how to use the calculator module!
dogeutil = require("dogeutil")
console.log(dogeutil.calculator(num,sum,num))
This is how to return lists.
const dogeutil = require("dogeutil")
//How to use a list
dogeutil.lists.list
//Example of the discord invites list
const Discord = require('discord.js')
const bot = new Discord.Client();
bot.on('message' , async (msgUpper) => {
const msg = msgUpper.content.toLowerCase();
if( .some(word => msg.includes(word)) ) {
let m = await msgUpper.reply(`do not post invites!`)
msgUpper.delete()
m.delete({timeout:10000})
}
})
bot.login('yourtokenhere')
Installation
Just like every package!
npm i dogeutil
Then if you dont like this package, It's ok, Just use
npm uninstall dogeutil
That's all, goodbye!