This commit is contained in:
Dragon Fire
2024-04-28 15:37:28 -04:00
parent 8066eb4c04
commit c63680f96b
+1 -1
View File
@@ -205,7 +205,7 @@ module.exports = class TweetCommand extends Command {
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'tweet.png' }] });
}
roundedPath(ctx, radius, x, y, imageHeight, imageWidth) {
roundedPath(ctx, radius, x, y, imageWidth, imageHeight) {
ctx.beginPath();
ctx.moveTo(x + radius, y);
ctx.lineTo(x + imageWidth - radius, y);