This commit is contained in:
Dragon Fire
2020-06-04 09:53:08 -04:00
parent 41130af6c4
commit 64d335374e
+1 -1
View File
@@ -58,7 +58,7 @@ module.exports = class EddFactsBookCommand extends Command {
ctx.font = `${fontSize}px Noto`;
}
const lines = await wrapText(ctx, fact, 183);
ctx.fillText(lines.join('\n'), 119, 326, 183);
ctx.fillText(lines.join('\n'), 119, 316, 183);
ctx.rotate(-15 * (Math.PI / 180));
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'edd-facts-book.png' }] });
}