From ec577abba27291e815ad9958ff5d17be3abb1eff Mon Sep 17 00:00:00 2001 From: Killian Date: Sun, 1 Nov 2020 15:13:36 +0100 Subject: [PATCH] Fix canvas.tofBuffer() --- src/module/montage/notStonk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/montage/notStonk.js b/src/module/montage/notStonk.js index 2c7e9f7..5daff06 100644 --- a/src/module/montage/notStonk.js +++ b/src/module/montage/notStonk.js @@ -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(); } }; \ No newline at end of file