1.0.2 • Published 3 years ago

andoi-image-api v1.0.2

Weekly downloads
43
License
ISC
Repository
-
Last release
3 years ago

andoi-image-api

Hello there have you ever looked for a package with images generation well here it is!

example

const discord = require("discord.js");
const client = new discord.Client();
const randomGen = require("andoi-image-api");
client.on("message", async (message) => {
  if (message.content.startsWith("!meme")) {
    message.channel.send(await randomGen.meme());
  }
  if (message.content.startsWith("!password")) {
    message.channel.send(
      await randomGen.password(16 /* length of the password*/)
    );
  }
});

client.login("token");

available images

cat dog car meme camel seal clyde

available text joke password fact token (discord bot token) discordjsdocs