Help kate sleep
Zzz
For it to work install in the powercord dir
If you do a pr please update the package version ty!
If making a pr to update docs put below this line I have to update it by hand#
In your node project just do npm i kate-sleep
and all set to start helping Kate sleep!
When importing Kate (require('kate-sleep')
) It will return a some useful functions to get Kate sleeping/awake and more!.
This is a Function that will put Kate to sleep. It accepts 1 parameter which is a Object.
Basic Usage
const kate = require('kate-sleep');
kate.sleep();
In the 1 paramter that is a Object can be composed of 2 values.
stuffedAnimals
a Array or String, we offer 5 stuffed animal which is Baby Fox, Moose, Frog, Dog, Wolf
but you can use your own stuffed animals.
cozyBed
is a Boolean, this will determine if Kate sleeps in a cozy bed or not.
Classic sleep
const kate = require('kate-sleep');
kate.sleep({ stuffedAnimals: ['Baby Fox', 'Dog'], cozyBed: true });
This is a Function that will wake up Kate.
Usage
const kate = require('kate-sleep');
kate.wake();
This is a function for Kate to have a little fun. This accepts 1 parameter which is a Object.
Basic Usage
const kate = require('kate-sleep');
kate.meth();
quality
a String that should be one of the following: "high", "average", "low". The quality of meth.
amount
a String that should be one of the following: "huge", "normal", "small". Amount of meth.
sharedWith
sometimes Kate just want to do some meth with friends. A String that should be one of the following: "Cynthia", "Ben", "Alice", "Joakim", "Emma", "Aetheryx", "Everyone", "Baby Fox"
Share the meth
const kate = require('kate-sleep');
kate.meth({ quality: 'average', amount: 'huge', sharedWith: 'Everyone' });
This is a Function for Kate and friends to have a sleepover.
Basic Usage
const kate = require('kate-sleep');
kate.sleepover({ invited: 'Olykir' });
This Function accepts 1 parameter that is a Object they are:
invited
This can be a Array or String. This will send a message to who is invited to come over for a sleepover. So far we offer "Cynthia", "Ben", "Alice", "Joakim", "Emma", "Aetheryx", "Olykir" to be invited but you can invited anyone to have a sleepover with Kate.
cozyBeds
This is a Boolean. This will determine if Kate and friends sleep in cozy beds
Big sleepover
const kate = require('kate-sleep');
kate.sleepover({ invited: ['Cynthia', 'Ben', 'Alice', 'Joakim', 'Emma', 'Aetheryx', 'Olykir'], cozyBeds: true });
This is a proprety and will return a boolean. Will return if Kate is sleeping.
Usage
const kate = require('kate-sleep');
if (!kate.isSleeping) {
kate.sleep();
}
This is a proprety and will return a boolean. Will return if Kate is cozy.
Usage
const kate = require('kate-sleep');
kate.sleep();
if (kate.isSleeping && !kate.isCozy) {
kate.wake();
kate.sleep({ cozyBed: true });
}
This is a async function that will send say something to kate!
Basic usage
const kate = require('kate-sleep');
async function say(text) {
await kate.say(text)
}
say('hello')
This is a async function that will display a color on kates screen!
Basic usage
const kate = require('kate-sleep');
async function color(color) {
await kate.color(color)
}
color('hello')