Just a little further you can do it

This commit is contained in:
Daniel Odendahl Jr
2017-09-28 01:31:00 +00:00
parent a9ad131eae
commit 6e2c035bfc
+1 -1
View File
@@ -41,7 +41,7 @@ module.exports = class IHaveThePowerCommand extends Command {
const avatar = await loadImage(body);
ctx.drawImage(base, 0, 0);
ctx.rotate(18.3 * (Math.PI / 180));
ctx.drawImage(avatar, 332, -80, 175, 175);
ctx.drawImage(avatar, 332, -100, 175, 175);
ctx.rotate(-18.3 * (Math.PI / 180));
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'i-have-the-power.png' }] });
} catch (err) {