ranimg

2.9.1 • Public • Published

RanImg

RanImg Simple Package Generate Image Using Diffrent API's.

Methods

Animals

  1. Lizard - Send random lizard image.
  2. Cat - Send random cat image.
  3. Dog - Send random dog image.
  4. Alpaca - Send random alpaca image.
  5. Llama - Send random llama image.
  6. Seal - Send random seal image.
  7. Panda - Send random panda image.
  8. Bird - Send random bird image.
  9. Fox - Send random fox image.
  10. Pikachu - Send random pikachu image.
  11. Koala - Send random koala image.
  12. Redpanda - Send random red panda image.

Fun

  1. Meme - Sends random meme from Reddit.
  2. Yesno - Sends random yes/no answer.
  3. Monster - Send random monster image.
  4. Kpop - Sends random kpop image with info about him.
  5. Joke - Sends random joke.

Anime

  1. Anime - Send random anime method image.
  2. Goodnight - Send random anime goodnight image.
  3. Waifu - Sends random anime Waifu(rem) image.
  4. Pat - Send random anime pat image.
  5. Hug - Send random anime hug image.
  6. Cry - Send random anime cry image.
  7. Kiss - Send random anime kiss image.
  8. Slap - Send random anime slap image.
  9. Smug - Send random anime smug image.
  10. Punch - Send random anime punch image.

Others

  1. Captcha - Sends random captcha image.
  2. Fact - Sends random fact.
  3. Advice - Sends random advice.

Code Example

NOTE: Only DISCORD.JS V12:

const Discord = require('discord.js');
const client = new Discord.Client();
client.on('ready', () => console.log('Ready !!'));
client.login(/* YOU'R BOT TOKEN */);

const ranimg = require('ranimg');
const randomImage = new ranimg({
    type: 'embed' // message, url
});

client.on('message', async(message) => {
    if(message.content.startsWith('!wink')) {
        return await randomImage.Wink(message);
    }
})

Warn

Package URL Type Not Working 100% Will Be Fixed in V3

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

CHANGE LOG

  • Rename Discordmonster method To Monster
  • Fix 3 Bugs
  • More Methods
  • Add More API

Dependencies

  • merge-options: 3.0.4
  • node-fetch: 2.6.1

RanImg API'S

Any Bug ?

  • Contact With Me Discord: AzizJaber.#5414

License

MIT

KemzoDev

Discord Server Youtube Channel

Package Sidebar

Install

npm i ranimg

Weekly Downloads

8

Version

2.9.1

License

MIT

Unpacked Size

28.6 kB

Total Files

4

Last publish

Collaborators

  • kemzo