From af795097a86f37e78294676ba847d31ea6bc0650 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 1 May 2021 10:25:16 -0400 Subject: [PATCH] Fix --- commands/analyze/repost.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/analyze/repost.js b/commands/analyze/repost.js index 260424c6..2d6519f7 100644 --- a/commands/analyze/repost.js +++ b/commands/analyze/repost.js @@ -35,9 +35,9 @@ module.exports = class RepostCommand extends Command { const results = await this.checkImage(body, image); if (results === false) return msg.reply('This image is clean.'); return msg.reply(stripIndents` - This image may be a repost. I've seen it **${body.matches.length}** times. - The closest match is at **${body.closest_match.hamming_match_percent}%** similarity. - ${body.closest_match.post.url} + This image may be a repost. I've seen it **${results.matches.length}** times. + The closest match is at **${results.closest_match.hamming_match_percent}%** similarity. + ${results.closest_match.post.url} `); } catch (err) { return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);