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

3.7.9 • Public • Published

Discord Level Card

NPM Version NPM Downloads NPM License Github Size

widget

Discord Level Card

Simple Levelup cards

Examples

const Discord = require("discord.js");
const { levelupCard } = require('@discord-card/levelcard');
const client = new Discord.Client();

client.on("message", async message => {
    const image = await levelupCard(message.member, {level: 1});

    message.channel.send(new Discord.MessageAttachment(image, 'welcome.png'))
});

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

Image


Changelog

Version Content
3.7.5 new card background
3.7.6 fixing avatar
3.7.9 fixing avatar

Package Sidebar

Install

npm i @discord-card/levelcard

Weekly Downloads

1

Version

3.7.9

License

Apache License

Unpacked Size

24.2 kB

Total Files

7

Last publish

Collaborators

  • dragoncat4012
  • akora-studios