kyranet / canvas-constructor

An ES6 utility for canvas with built-in functions and chained methods.
https://canvasconstructor.js.org
MIT License
116 stars 23 forks source link

bug: Fuction not available #371

Closed AriaFantom closed 3 years ago

AriaFantom commented 3 years ago

I want to draw a image normally and just encountered this error

The code is here - https://pastebin.com/51Rci7TL

And error is


node:83980) UnhandledPromiseRejectionWarning: TypeError: (intermediate value).printImage(...).setColor(...).addCircle is not a function
    at module.exports.run (/home/ubuntu/Youva-Bot/src/Commands/Owner/test.js:23:10)```
kyranet commented 3 years ago

It's printCircle, please read the documentation.