andoi-image-api

1.0.2 • Public • Published

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

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i andoi-image-api

    Weekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    6.25 kB

    Total Files

    3

    Last publish

    Collaborators

    • tovade