diff --git a/commands/edit-face/emoji-face.js b/commands/edit-face/emoji-face.js index f98cc09d..ae5ddf76 100644 --- a/commands/edit-face/emoji-face.js +++ b/commands/edit-face/emoji-face.js @@ -52,6 +52,10 @@ module.exports = class EmojiFaceCommand extends Command { } const emojiData = await request.get(emojiURL); const emojiImg = await loadImage(emojiData.body); + if (emojiURL.endsWith('svg')) { + emojiImg.width *= 4; + emojiImg.height *= 4; + } const imgData = await request.get(image); try { const faces = await this.detect(imgData);