From b16aca4d32e9d22b607d801c172ba1b68d0d6637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Thu, 13 Jun 2019 01:07:19 +0200 Subject: [PATCH] Updated font --- commands/images/meme.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/images/meme.js b/commands/images/meme.js index 88fcb88c..07aa863e 100644 --- a/commands/images/meme.js +++ b/commands/images/meme.js @@ -53,12 +53,12 @@ class memeCommand extends Command { function processGif() { gm('./img/memeInput.gif') .fill('#ffffff') - .font('Impact.ttf') + .font('/usr/share/fonts/TTF/Impact.ttf') .drawText(0, 20, args.topText, 'North') .drawText(0, 10, args.bottomText, 'South') .write('./img/meme.gif', function (err) { if (!err) { - message.channel.send('a', {files: ['./img/meme.gif']}); + message.channel.send({files: ['./img/meme.gif']}); } else { console.error(err); }