Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

Image manipulation for discord bot or other app

  • 1.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 25 Mar 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc