This commit is contained in:
Daniel Odendahl Jr
2019-05-19 19:31:52 +00:00
parent 9860f7ab60
commit 435b4a89c9
+1 -1
View File
@@ -43,7 +43,7 @@ module.exports = class BobRossCommand extends Command {
const ctx = canvas.getContext('2d');
ctx.fillStyle = 'white';
ctx.fillRect(0, 0, base.width, base.height);
ctx.drawImage(avatar, 15, 20, 440, 440);
ctx.drawImage(avatar, 10, 20, 440, 440);
ctx.drawImage(base, 0, 0);
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'bob-ross.png' }] });
} catch (err) {