CANVAS WHY

This commit is contained in:
dragonfire535
2017-10-02 18:46:24 -04:00
parent 9dcae80cc0
commit 4bc3e6fc5e
@@ -41,7 +41,7 @@ module.exports = class LookAtThisPhotographCommand extends Command {
const avatar = await loadImage(body);
ctx.drawImage(base, 0, 0);
ctx.rotate(-13.5 * (Math.PI / 180));
ctx.drawImage(avatar, 285, 205, 175, 125);
ctx.drawImage(avatar, 280, 225, 175, 125);
ctx.rotate(13.5 * (Math.PI / 180));
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'look-at-this-photograph.png' }] });
} catch (err) {