random-pic-js / random-pic.js

You Can Get Random Gif/Pictures URSL With This Module

Home Page:https://random-picjs.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://random-picjs.herokuapp.com/

License:MIT License


Languages

Language:JavaScript 100.0%