dfghjk

0.0.2 • Public • Published

Discord-Canvas

A lightweight and easy to use canvas template!
This package can be use in discord or other app.

  • This package is similar to canvacord but different design
  • I will be adding more design in the future and will keep updating this package. Hope u like it!
  • If you have a request that u want to be put in the package just DM me in discord Kurooo#5157

Example

const DiscordCanvas = require('@kuroxi/discord-canvas')
const template = new DiscordCanvas.Currency()
    .setBackground('#353535')
    .setProfile(message.author.displayAvatarURL({ format: 'png' }))
    .setUsername(message.author.username)
    .setDiscriminator(message.author.discriminator)
    .setRank(55121)
    .setWallet(125131231)
    .setBank(123137819317)
    .setSeperator('#FFFFFF', 1)

template.build().then((data) => {
    const attachment = new Discord.MessageAttachment(data, 'image-name.png')
    return message.channel.send(attachment)
})

Output

img


Package Sidebar

Install

npm i dfghjk

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

938 kB

Total Files

12

Last publish

Collaborators

  • onlyjaiden