Socket
Socket
Sign inDemoInstall

qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

Package Overview
Dependencies
66
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

Image manipulation for discord bot or other app


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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


Keywords

FAQs

Last updated on 25 Mar 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc