From ef7c58c508e814edfd42a5332607dd91ef05317b Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Fri, 10 Nov 2017 14:14:19 +0000 Subject: [PATCH] canvas succccccc --- commands/avatar-edit/demotivational-poster.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/avatar-edit/demotivational-poster.js b/commands/avatar-edit/demotivational-poster.js index 25db7060..92fb92de 100644 --- a/commands/avatar-edit/demotivational-poster.js +++ b/commands/avatar-edit/demotivational-poster.js @@ -57,10 +57,10 @@ module.exports = class DemotivationalPosterCommand extends Command { ctx.textAlign = 'center'; ctx.font = '60px Noto'; ctx.fillStyle = 'aquamarine'; - ctx.fillText(title, 375, 478); + ctx.fillText(title, 375, 508); ctx.font = '27px Noto'; ctx.fillStyle = 'white'; - ctx.fillText(text, 375, 550); + ctx.fillText(text, 375, 580); return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'demotivational-poster.png' }] }); } catch (err) { return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);