Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.38 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.38 KB

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