random-pic.js

2.0.3 • Public • Published

Welcome To random-pic.js Repository

You Can Get Random Gif/Pictures URSL With This Module(Used In SoSiS s Profile Command)
last update 2021-09-12 (added random function)

Available Funcitons

animal anime couple landscape random
boy eboy girl egirl
If You Have An Idea For Adding Some Thing Feel Free By Telling Us In Discord 1 & Discord 2

Examples

Code :

const pic = require('random-pic.js') // npm install random-pic.js



// do every thing with response


pic.animal().then((response) => { console.log(response) })
// pic.anime().then((response) => { response })
// pic.boy().then((response) => { response })
// pic.girl().then((response) => { response })
// pic.couple().then((response) => { response })
// pic.eboy().then((response) => { response })
// pic.egirl().then((response) => { response })
// pic.landscape().then((response) => { response })
// pic.random().then((response) => { response })

using for Discord Bot ?!

pic.random().then((response) => { 

message.channel.send(response)

 })

Package is Returning a Promise, which mean you have to handle any errors which might or might not happen.

Under MIT License.

Readme

Keywords

Package Sidebar

Install

npm i random-pic.js

Weekly Downloads

0

Version

2.0.3

License

ISC

Unpacked Size

8.38 kB

Total Files

8

Last publish

Collaborators

  • hadi.az