From 705ccb44673161280b3397892360651bdbd434c1 Mon Sep 17 00:00:00 2001 From: lilyissillyyy Date: Sun, 14 Sep 2025 19:51:08 -0400 Subject: [PATCH] Fix lint --- commands/events/apod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/events/apod.js b/commands/events/apod.js index 7878ac07..8a8c3d26 100644 --- a/commands/events/apod.js +++ b/commands/events/apod.js @@ -28,7 +28,7 @@ module.exports = class ApodCommand extends Command { const credit = body.copyright ? body.copyright.replaceAll('\n', '/') : 'Public Domain'; return msg.say(stripIndents` **${body.title}** - ${body.explanation}${body.media_type !== 'image' ? `\n${body.url}` : ''} + ${body.explanation}${body.media_type === 'image' ? '' :`\n${body.url}`} _Image Credits: [${credit}](https://apod.nasa.gov/apod/astropix.html)_ `, { files: body.media_type === 'image' ? [body.url] : [] });