This commit is contained in:
Dragon Fire
2024-04-21 14:38:34 -04:00
parent 97db86e579
commit 4ee46f0f7b
+1
View File
@@ -103,6 +103,7 @@ module.exports = class TweetCommand extends Command {
imageCtx.quadraticCurveTo(x, y, x + radius, y);
imageCtx.closePath();
imageCtx.clip();
imageCtx.drawImage(imageData, 0, 0);
ctx.drawImage(imageCanvas, x, y, imageWidth, imageHeight);
}
const likes = randomRange(Math.ceil(userData.followers * 0.0015), Math.ceil(userData.followers * 0.002));