A ForgeScript extension that allows you to create and edit images with ease.
npm install @tryforge/forge.canvas
Elevate your Discord app's visual appeal with ease. Create beautiful images using simple canvas functions.
ForgeCanvas simplifies image creation, integrates seamlessly with ForgeScript, and makes canvas-related tasks quicker and easier for bot development.
Just a few simple steps and you'll be a cook, cooking awesome images by sprinkling magic coding dust.
bash
npm i @tryforge/forge.canvas
`
2. Summon the package's power with this spell in your main file:
`js
const { ForgeCanvas } = require("@tryforge/forge.canvas")
`
3. Behold the power, that's now in your hand. Technically speaking not you but your code, here's how to use it:
`js
// This is your main file,
// And just like usual, I'll assume this client can be an app or anything
const { ForgeCanvas } = require("@tryforge/forge.canvas")
const client = new ForgeClient({
...options // The options you currently have
extensions: [
new ForgeCanvas()
]
})
``
We're always welcome for brave adventurers to join our quest! Just fork, clone, commit, push, pull request and the usual.
Having trouble? Don't fret! Join our Discord server to get some help!