From 59560f94b71b1331dabfd34f18c62b867e1278f1 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 23 Mar 2024 21:53:18 -0400 Subject: [PATCH] Fix --- commands/edit-face/emoji-face.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-face/emoji-face.js b/commands/edit-face/emoji-face.js index 4d92d501..c974b89d 100644 --- a/commands/edit-face/emoji-face.js +++ b/commands/edit-face/emoji-face.js @@ -47,7 +47,7 @@ module.exports = class EmojiFaceCommand extends Command { emojiImg.height *= 4; } const imgData = await request.get(image); - const faces = await this.detect(imgData.body); + const faces = await this.client.detectFaces(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);