This commit is contained in:
Dragon Fire
2024-04-21 14:41:07 -04:00
parent ec1169d378
commit e3778ebfad
+1 -1
View File
@@ -104,7 +104,7 @@ module.exports = class TweetCommand extends Command {
imageCtx.closePath(); imageCtx.closePath();
imageCtx.clip(); imageCtx.clip();
imageCtx.drawImage(imageData, 0, 0); imageCtx.drawImage(imageData, 0, 0);
ctx.drawImage(imageCanvas, x, y, imageWidth, imageHeight); ctx.drawImage(imageCanvas, 17, base1.height + linesLen, imageWidth, imageHeight);
} }
const likes = randomRange(Math.ceil(userData.followers * 0.0015), Math.ceil(userData.followers * 0.002)); const likes = randomRange(Math.ceil(userData.followers * 0.0015), Math.ceil(userData.followers * 0.002));
const retweets = randomRange(Math.ceil(userData.followers * 0.00015), Math.ceil(userData.followers * 0.0002)); const retweets = randomRange(Math.ceil(userData.followers * 0.00015), Math.ceil(userData.followers * 0.0002));