1.1.0 â€ĸ Published 2 years ago

@discord-card/bot v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

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