animage
v1.0.1
Published
A package that allows you to obtain images of animals
Downloads
5
Maintainers
Readme
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
👤 Auteur
Lucas D. | Discord: Oϲτανια#5573 (ID:
638474353842978816
)
- GitHub : Cliquez ici
- Support : Cliquez ici
📝 License
© Lucas D - 2021
Ce projet est sous license MIT.