From aa7caab9d3e11752d60a4796ee39911557fce428 Mon Sep 17 00:00:00 2001 From: Ashley Graves Date: Thu, 10 Oct 2024 16:27:11 +0200 Subject: [PATCH] guh --- src/commands/fun/gelbooru.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/fun/gelbooru.js b/src/commands/fun/gelbooru.js index cb353a0..ab2f182 100644 --- a/src/commands/fun/gelbooru.js +++ b/src/commands/fun/gelbooru.js @@ -138,7 +138,7 @@ module.exports = { const ext = extname((post['data']).file_name ?? post.fileUrl ?? '').toLowerCase(); const leadingDescription = [ - `**Score:** ${formatScore(post.score)}`, + `**Score:** ${formatScore(post.score ?? 0)}`, `**Rating:** ${formatRating(post.rating)}`, `[File URL](${post.fileUrl})`, `\`${ext}\``,