2.0.3 • Published 3 years ago

insultmachine v2.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

InsultMachine

Half appropiate insult and compliment generator

npm i insultmachine

Usage

First, require the package. const Machine = require('InsultMachine'); or import Machine from 'InsultMachine'; if you're in a module.

Then you can use randomly generated insults and compliments.

Examples

console.log(Machine.InsultMachine());
// -> You're so fat that when you farted you started global warming.

or using Discordjs

if(message.content == '!insult'){
  message.channel.send(Machine.InsultMachine());
}

If you want a compliment instead of an insult, use Machine.ComplimentMachine() instead of InsultMachine().