diff --git a/commands/avataredit/bobross.js b/commands/avataredit/bobross.js index ac3c097a..e92a68e0 100644 --- a/commands/avataredit/bobross.js +++ b/commands/avataredit/bobross.js @@ -35,10 +35,10 @@ module.exports = class BobRossCommand extends Command { const avatar = new Image(); const generate = () => { ctx.fillStyle = 'white'; - ctx.fillRect(0, 0, 507, 338); - ctx.rotate(2 * Math.PI / 180); + ctx.fillRect(0, 0, 600, 775); + ctx.rotate(3 * Math.PI / 180); ctx.drawImage(avatar, 44, 85, 300, 300); - ctx.rotate(-2 * Math.PI / 180); + ctx.rotate(-3 * Math.PI / 180); ctx.drawImage(base, 0, 0); }; const rossImg = await request diff --git a/commands/avataredit/steamcard.js b/commands/avataredit/steamcard.js index c919b344..fdfbc7f5 100644 --- a/commands/avataredit/steamcard.js +++ b/commands/avataredit/steamcard.js @@ -55,7 +55,7 @@ module.exports = class SteamCardCommand extends Command { return msg.channel.send({ files: [{ attachment: canvas.toBuffer(), name: 'card.png' }] }) .catch(err => msg.say(err)); } catch (err) { - return msg.say('An Error Occurred while creating the image.'); + return msg.say('An Error Occurred while creating the image. ' + err); } } }; diff --git a/commands/avataredit/triggered.js b/commands/avataredit/triggered.js index 077df1ee..7b173e25 100644 --- a/commands/avataredit/triggered.js +++ b/commands/avataredit/triggered.js @@ -35,8 +35,8 @@ module.exports = class TriggeredCommand extends Command { const generate = () => { ctx.fillStyle = 'white'; ctx.fillRect(0, 0, 320, 371); - ctx.drawImage(base, 0, 0); ctx.drawImage(avatar, 0, 0, 320, 320); + ctx.drawImage(base, 0, 0); }; const triggeredImg = await request .get('https://i.imgur.com/tF9yF62.png'); diff --git a/commands/avataredit/wanted.js b/commands/avataredit/wanted.js index 6ef7990e..a773fa97 100644 --- a/commands/avataredit/wanted.js +++ b/commands/avataredit/wanted.js @@ -34,7 +34,7 @@ module.exports = class WantedCommand extends Command { const avatar = new Image(); const generate = () => { ctx.drawImage(base, 0, 0); - ctx.drawImage(avatar, 149, 360, 430, 430); + ctx.drawImage(avatar, 150, 360, 430, 430); }; const wantedImg = await request .get('https://i.imgur.com/6bBDfsO.png');