npm.io
1.0.0 • Published 5 years ago

random-gif

Licence
ISC
Version
1.0.0
Deps
0
Size
15 kB
Vulns
0
Weekly
0

Random GIF

You can generate random images and gifs.

How to Install Install the package with:

npm i random-gif

Features

  • Get a random photo of a truck = randomPhotoTruck
  • Get a random photo of a plane = randomPhotoPlane
  • Get a random photo of a helicopter = randomPhotoHelicopter
  • Get a random photo of a motorcycle = randomPhotoMoto
  • Get a random gif of a hacker = randomGifHacker
  • Get a random gif of a car drift = randomGifDrift
  • Get a random gif of a slap = randomGifSlap
  • Get a random gif of a kick = randomGifKick
  • Get a random gif of a ban = randomGifBan

Example

  • JS
const dsrandom = require('random-gif');

console.log(dsrandom.randomPlane())
  • DiscordJS
const dsrandom = require('random-gif');

message.channel.send(randomGifHacker) //Send the link of the gif. If have `send links` permission will send the gif without link.