From b18c0dab881b8412a8ae28799c89440ce790582e Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sat, 22 Feb 2020 14:37:44 +0100 Subject: [PATCH] toLowerCase --- commands/images/meme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/images/meme.js b/commands/images/meme.js index 5b67076..1256edb 100644 --- a/commands/images/meme.js +++ b/commands/images/meme.js @@ -81,7 +81,7 @@ class memeCommand extends Command { console.error(err); return message.channel.send('An error has occured, is it an image?'); } - let output = `${os.tmpdir()}/meme${message.id}.${format.toLocaleLowerCase()}`; + let output = `${os.tmpdir()}/meme${message.id}.${format.toLowerCase()}`; // Get the image size to calculate top and bottom text positions img.size(function(err, value) { // Set text position for top and bottom