shiro.gg
Version:
An api wrapper for shiro.gg
346 lines (345 loc) • 6.26 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.wallpapers = exports.wallpaper = exports.trap = exports.tickle = exports.smug = exports.sleep = exports.slap = exports.punch = exports.pout = exports.poke = exports.pat = exports.nom = exports.neko = exports.lick = exports.kiss = exports.hug = exports.cry = exports.blush = exports.avatars = exports.avatar = void 0;
//Modules
const res_1 = require("./../resource/res");
/**
* Get a random avatar
*
* @returns {Promise} An avatar image
* @example
* ```js
* shiro.avatar().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const avatar = async () => {
return (0, res_1.GetImage)('avatars', { nsfw: false });
};
exports.avatar = avatar;
/**
* Get a random avatar
*
* @returns {Promise} An avatar image
* @example
* ```js
* shiro.avatars().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const avatars = async () => {
return (0, res_1.GetImage)('avatars', { nsfw: false });
};
exports.avatars = avatars;
/**
* Get an image / gif of blushing
*
* @returns {Promise} A blushing image or gif
* @example
* ```js
* shiro.blush().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const blush = async () => {
return (0, res_1.GetImage)('blush', { nsfw: false });
};
exports.blush = blush;
/**
* Get an image / gif of crying
*
* @returns {Promise} A crying gif
* @example
* ```js
* shiro.cry().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const cry = async () => {
return (0, res_1.GetImage)('cry', { nsfw: false });
};
exports.cry = cry;
/**
* Get a gif of hugging
*
* @returns {Promise} A hugging image / gif
* @example
* ```js
* shiro.hug().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const hug = async () => {
return (0, res_1.GetImage)('hug', { nsfw: false });
};
exports.hug = hug;
/**
* Get a gif of kissing
*
* @returns {Promise} A kissing gif
* @example
* ```js
* shiro.kiss().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const kiss = async () => {
return (0, res_1.GetImage)('kiss', { nsfw: false });
};
exports.kiss = kiss;
/**
* Get a gif of licking
*
* @returns {Promise} A licking gif
* @example
* ```js
* shiro.lick().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const lick = async () => {
return (0, res_1.GetImage)('lick', { nsfw: false });
};
exports.lick = lick;
/**
* Get an image of neko / catgirl
*
* @returns {Promise} An image of catgirl
* @example
* ```js
* shiro.neko().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const neko = async () => {
return (0, res_1.GetImage)('neko', { nsfw: false });
};
exports.neko = neko;
/**
* Get a gif of eating
*
* @returns {Promise} An eating gif
* @example
* ```js
* shiro.nom().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const nom = async () => {
return (0, res_1.GetImage)('nom', { nsfw: false });
};
exports.nom = nom;
/**
* Get a gif of patting
*
* @returns {Promise} A patting gif
* @example
* ```js
* shiro.pat().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const pat = async () => {
return (0, res_1.GetImage)('pat', { nsfw: false });
};
exports.pat = pat;
/**
* Get a gif of poking
*
* @returns {Promise} A poking gif
* @example
* ```js
* shiro.poke().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const poke = async () => {
return (0, res_1.GetImage)('poke', { nsfw: false });
};
exports.poke = poke;
/**
* Get a gif of pouting
*
* @returns {Promise} A pouting gif
* @example
* ```js
* shiro.pout().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const pout = async () => {
return (0, res_1.GetImage)('pout', { nsfw: false });
};
exports.pout = pout;
/**
* Get a gif of punching
*
* @returns {Promise} A punching gif
* @example
* ```js
* shiro.punch().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const punch = async () => {
return (0, res_1.GetImage)('punch', { nsfw: false });
};
exports.punch = punch;
/**
* Get a gif of slapping
*
* @returns {Promise} A slapping gif
* @example
* ```js
* shiro.slap().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const slap = async () => {
return (0, res_1.GetImage)('slap', { nsfw: false });
};
exports.slap = slap;
/**
* Get a gif of sleeping
*
* @returns {Promise} A sleeping gif
* @example
* ```js
* shiro.sleep().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const sleep = async () => {
return (0, res_1.GetImage)('sleep', { nsfw: false });
};
exports.sleep = sleep;
/**
* Get a gif of smugging
*
* @returns {Promise} A smug image
* @example
* ```js
* shiro.smug().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const smug = async () => {
return (0, res_1.GetImage)('smug', { nsfw: false });
};
exports.smug = smug;
/**
* Get a gif of tickling
*
* @returns {Promise} A tickling gif
* @example
* ```js
* shiro.tickle().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const tickle = async () => {
return (0, res_1.GetImage)('tickle', { nsfw: false });
};
exports.tickle = tickle;
/**
* Get a random image of a trap (Bot dressed as girl)
*
* @returns {Promise} An image of a trap
* @example
* ```js
* shiro.trap().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const trap = async () => {
return (0, res_1.GetImage)('trap', { nsfw: false });
};
exports.trap = trap;
/**
* Get a random wallpaper
*
* @returns {Promise} A wallpaper
* @example
* ```js
* shiro.wallpaper().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const wallpaper = async () => {
return (0, res_1.GetImage)('wallpapers', { nsfw: false });
};
exports.wallpaper = wallpaper;
/**
* Get a random wallpaper
*
* @returns {Promise} A wallpaper
* @example
* ```js
* shiro.wallpapers().then(res => {
* console.log(res)
* })
* ```
*
* @public
*/
const wallpapers = async () => {
return (0, res_1.GetImage)('wallpapers', { nsfw: false });
};
exports.wallpapers = wallpapers;