forked from Supositware/Haha-Yes
Updated font
This commit is contained in:
parent
86ee889595
commit
b16aca4d32
1 changed files with 2 additions and 2 deletions
|
@ -53,12 +53,12 @@ class memeCommand extends Command {
|
||||||
function processGif() {
|
function processGif() {
|
||||||
gm('./img/memeInput.gif')
|
gm('./img/memeInput.gif')
|
||||||
.fill('#ffffff')
|
.fill('#ffffff')
|
||||||
.font('Impact.ttf')
|
.font('/usr/share/fonts/TTF/Impact.ttf')
|
||||||
.drawText(0, 20, args.topText, 'North')
|
.drawText(0, 20, args.topText, 'North')
|
||||||
.drawText(0, 10, args.bottomText, 'South')
|
.drawText(0, 10, args.bottomText, 'South')
|
||||||
.write('./img/meme.gif', function (err) {
|
.write('./img/meme.gif', function (err) {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
message.channel.send('a', {files: ['./img/meme.gif']});
|
message.channel.send({files: ['./img/meme.gif']});
|
||||||
} else {
|
} else {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue