JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18
  • Score
    100M100P100Q29208F
  • License MIT

Image manipulation for discord bot or other app

Package Exports

  • qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  • qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


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