From d4361f3d01043ff945ac818b054a8940c466dffb Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 23 Mar 2024 21:01:19 -0400 Subject: [PATCH] Fix --- commands/edit-face/anime-eyes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-face/anime-eyes.js b/commands/edit-face/anime-eyes.js index dbd98628..ec1ba94d 100644 --- a/commands/edit-face/anime-eyes.js +++ b/commands/edit-face/anime-eyes.js @@ -36,7 +36,7 @@ module.exports = class AnimeEyesCommand extends Command { const rightEye = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'anime-eyes', 'right.png')); const imgData = await request.get(image); try { - const faces = await this.detect(imgData); + const faces = await this.detect(imgData.body); if (!faces) return msg.reply('There are no faces in this image.'); if (faces === 'size') return msg.reply('This image is too large.'); const base = await loadImage(imgData.body);