diff --git a/commands/image-edit/achievement.js b/commands/image-edit/achievement.js index ff06af07..dc40c168 100644 --- a/commands/image-edit/achievement.js +++ b/commands/image-edit/achievement.js @@ -32,11 +32,13 @@ module.exports = class AchievementCommand extends Command { const ctx = canvas.getContext('2d'); ctx.drawImage(base, 0, 0); ctx.font = '17px Minecraftia'; - ctx.fillText('Achievement Get!', 60, 14); + ctx.fillStyle = '#ffff00'; + ctx.fillText('Achievement Get!', 60, 27); let shorten; if (ctx.measureText(text).width > 230) shorten = true; while (ctx.measureText(text).width > 230) text = text.substr(0, text.length - 1); - ctx.fillText(shorten ? `${text}...` : text, 60, 36); + ctx.fillStyle = '#ffffff'; + ctx.fillText(shorten ? `${text}...` : text, 60, 49); return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'achievement.png' }] }); } };