Skip to content

Latest commit

 

History

History
55 lines (31 loc) · 1.68 KB

README.md

File metadata and controls

55 lines (31 loc) · 1.68 KB

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.