This commit is contained in:
Daniel Odendahl Jr
2017-09-25 03:12:00 +00:00
parent 49b3988781
commit f2a1b09243
+1 -1
View File
@@ -40,7 +40,7 @@ module.exports = class PhotographCommand extends Command {
const avatar = await loadImage(body);
ctx.drawImage(base, 0, 0);
ctx.rotate(-8.21 * (Math.PI / 180));
ctx.drawImage(avatar, 96, 83, 175, 175);
ctx.drawImage(avatar, 97, 106, 150, 150);
ctx.rotate(8.21 * (Math.PI / 180));
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'photograph.png' }] });
} catch (err) {