toLowerCase
This commit is contained in:
parent
5da4039685
commit
b18c0dab88
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class memeCommand extends Command {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
return message.channel.send('An error has occured, is it an image?');
|
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
|
// Get the image size to calculate top and bottom text positions
|
||||||
img.size(function(err, value) {
|
img.size(function(err, value) {
|
||||||
// Set text position for top and bottom
|
// Set text position for top and bottom
|
||||||
|
|
Loading…
Reference in a new issue