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}\``,