Easy to use canvas for forge.
Download this package:
npm i @tryforge/forge.canvas
Now, in your client initialization:
const { ForgeCanvas } = require("@tryforge/forge.canvas")
// I'll assume client, can be bot or anything else
const client = new ForgeClient({
...options // The options you currently have
extensions: [
new ForgeCanvas()
]
})
And voi-la, you now have canvas functions loaded to your bot.
Check our docs for info of all functions available.