qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
v1.3.0
Published
Image manipulation for discord bot or other app
Downloads
5
Maintainers
Readme
- 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)
})