From 87ac621c7728e1fb3f4647bc61d8bdc61a868c4e Mon Sep 17 00:00:00 2001 From: JesseStorms Date: Sun, 14 Feb 2021 02:22:01 +0100 Subject: [PATCH] bruh --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4a2caf9..f983307 100644 --- a/README.md +++ b/README.md @@ -13,14 +13,18 @@ Why did I make this? I was really bored and searched for excuses to learn how to const yourmama = require('yourmama') //get a random joke - const joke = yourmama.getRoast() //Omitting params returns a random roast. - const joke = yourmama.getRandom() - + const randomJoke = yourmama.getRoast() //Omitting params returns a random roast. + const randomJoke = yourmama.getRandom() + //get a random joke in a topic - const fatJoke = yourmama.getTopic("fat") //or short, stupid, ugly, nasty, hairy, bald, old, poor, skinny, tall + //topic can be: fat, short, stupid, ugly, nasty, hairy, bald, old, poor, skinny, tall and nice + const fatJoke = yourmama.getTopic({topic:'fat'}) //if object only contains topic. + const fatJoke = yourmama.getTopic("fat") //get by ID, just makes a giant array and selects one of them - const specificJoke = yourmama.getID(0) //returns "Yo mama is so fat that her bellybutton gets home 15 minutes before she does." + const speficiJoke = yourmama.getRoast({id:0}) + const specificJoke = yourmama.getID(0) + //returns "Yo mama is so fat that her bellybutton gets home 15 minutes before she does." //get a specific one out of the topic array const firstFatJoke = yourmama.getRoast({topic:'fat',id:0}) //returns "Yo mama is so fat that her bellybutton gets home 15 minutes before she does."