@discord-card/bot
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

NPM Version NPM Downloads NPM License Github Size

widget


Discord Bot Card

Simple easy-to-use Bot Card generator that generates a Card displaying all the important details you need.


Features

  • ⛩️ Small / Long / Big Card Design
  • 🍭 Status Indicator
  • 🖼️ Modern Design
  • 📎 Show Votes and Guild Count
  • 🗛 Show your Botlist

Examples

Long Bot Card
const Discord = require("discord.js");
const { welcomeImage } = require('discord-welcome-card');
const client = new Discord.Client({
    intents: [ Discord.Intents.FLAGS.GUILDS ]
});

client.on("messageCreate", async message => {
    if(message.author.bot) return
    
    let card = await generateCard('long', {
        name: 'Plasma',
        tag: '3518',
        description: 'Easy to setup • Reliable • FREE! - create a giveaway in your server, manage peoples invites, and use our FREE levelling system!',
        status: 'streaming',
        guilds: 254434,
        votes: 89123,
        library: 'discord.js',
        botList: 'yourBotList.xyz'
    })

    message.channel.send({ files: [ card.toBuffer('image/png') ]})
});

client.login('Your-Bot-Token');

Image

Package Sidebar

Install

npm i @discord-card/bot

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

171 kB

Total Files

22

Last publish

Collaborators

  • akora-studios
  • dragoncat4012