From 325acd3eb5960b8bd2be48277e4f019f385a0545 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 30 Mar 2024 18:39:49 -0400 Subject: [PATCH] Fix --- commands/random-img/xiao.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/random-img/xiao.js b/commands/random-img/xiao.js index 72736feb..2533948c 100644 --- a/commands/random-img/xiao.js +++ b/commands/random-img/xiao.js @@ -51,7 +51,7 @@ module.exports = class XiaoCommand extends Command { try { const data = await this.sauceNao(img); if (data && data[0].similarity > 90) { - result = `Art by [${data.authorName}](${data.authorUrl}) | Source: <${data.url}>`; + result = `Art by [${data[0].authorName}](${data[0].authorUrl}) | Source: <${data[0].url}>`; } } catch { return result;