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;