Skip to content

A package that allows you to obtain images of animals

Notifications You must be signed in to change notification settings

Octavia0509/animage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DISCORD DROPS

A package that allows you to obtain images of animals

⚡ Installation

🎉 Utilisation

const Animage = require('animage');
const Discord = require('discord.js');

const bot = new Discord.Client();
const animage = new Animage.Client(bot);

bot.on('message', async message => {
    if (message.author.bot || !message.guild) return;
    
    // DOG
    if(message.content === "!dog") {
        await animage.dog(message, true) // True => Image will be sended in an embed / False => Normal message
    };
    // CAT
    if(message.content === "!cat") {
        await animage.cat(message, true) // Same
    };
    // Many others avaivable metholds that works same as those above : panda, koala, fox
    // There is a "random" method:
    if(message.content === "!random") {
        await animage.random(message);
    };
});

bot.login('TOKEN');

📸 Examples

CAT


DOG


RANDOM

👤 Auteur

Lucas D. | Discord: Oϲτανια#5573 (ID: 638474353842978816)

📝 License

© Lucas D - 2021

Ce projet est sous license MIT.

About

A package that allows you to obtain images of animals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published