Fix canvas.tofBuffer()

main
Killian 4 years ago
parent 10fcffd6b6
commit ec577abba2

@ -13,6 +13,6 @@ module.exports = class NotStonk {
const background = await Canvas.loadImage(`${__dirname}/../../assets/notStonk.png`);
ctx.drawImage(image1, 140, 5, 190, 190);
ctx.drawImage(background, 0, 0, 960, 576);
return canvas.tofBuffer();
return canvas.toBuffer();
}
};
Loading…
Cancel
Save