From 338d1e9011aab7230a810e8039092c0c033dc126 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 27 Mar 2021 16:51:31 -0400 Subject: [PATCH] Fix --- commands/edit-image/snapchat.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/edit-image/snapchat.js b/commands/edit-image/snapchat.js index 02a2400f..dac3b0ca 100644 --- a/commands/edit-image/snapchat.js +++ b/commands/edit-image/snapchat.js @@ -60,7 +60,8 @@ module.exports = class SnapchatCommand extends Command { ctx.fillStyle = 'black'; ctx.fillRect(0, barPosition - barHeight, base.width, barHeight); ctx.globalAlpha = 1; - ctx.fillText(text, base.width / 2, (barPosition - barHeight) * 0.4); + ctx.fillStyle = 'white'; + ctx.fillText(text, base.width / 2, barPosition - (barHeight * 0.4)); return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'snapchat.png' }] }); } };