Skip to content

random-pic-js/random-pic.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

You Can Get Random Gif/Pictures URSL With This Module

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published