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