This commit is contained in:
Dragon Fire
2020-12-27 10:06:44 -05:00
parent 1cb1043abc
commit c2383cb9e0
+2 -2
View File
@@ -50,8 +50,8 @@ module.exports = class NewPasswordCommand extends Command {
const ctx = canvas.getContext('2d');
ctx.drawImage(base, 0, 0);
ctx.font = '60px Noto';
ctx.fillText(shortenText(ctx, weak, 780), 70, 196);
ctx.fillText(shortenText(ctx, strong, 780), 70, 672);
ctx.fillText(shortenText(ctx, weak, 780), 70, 191);
ctx.fillText(shortenText(ctx, strong, 780), 70, 667);
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'new-password.png' }] });
}
};