ranimg
v2.9.1
Published
Ranimg Simple Package To Generate Random Images With API
Downloads
14
Maintainers
Readme
RanImg
RanImg Simple Package Generate Image Using Diffrent API's.
Methods
Animals
- Lizard - Send random lizard image.
- Cat - Send random cat image.
- Dog - Send random dog image.
- Alpaca - Send random alpaca image.
- Llama - Send random llama image.
- Seal - Send random seal image.
- Panda - Send random panda image.
- Bird - Send random bird image.
- Fox - Send random fox image.
- Pikachu - Send random pikachu image.
- Koala - Send random koala image.
- Redpanda - Send random red panda image.
Fun
- Meme - Sends random meme from Reddit.
- Yesno - Sends random yes/no answer.
- Monster - Send random monster image.
- Kpop - Sends random kpop image with info about him.
- Joke - Sends random joke.
Anime
- Anime - Send random anime method image.
- Goodnight - Send random anime goodnight image.
- Waifu - Sends random anime Waifu(rem) image.
- Pat - Send random anime pat image.
- Hug - Send random anime hug image.
- Cry - Send random anime cry image.
- Kiss - Send random anime kiss image.
- Slap - Send random anime slap image.
- Smug - Send random anime smug image.
- Punch - Send random anime punch image.
Others
- Captcha - Sends random captcha image.
- Fact - Sends random fact.
- 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
- https://apis.duncte123.me
- https://some-random-api.ml
- https://bruhapi.xyz/
- https://neko-love.xyz
- https://yesno.wtf
- https://dog.ceo
- http://aws.random.cat
- https://api.darkboy.me - Thank You DarkBoy :D
- https://api.deltaa.tk - Thank You Deltaa :)
Any Bug ?
- Contact With Me Discord: AzizJaber.#5414