REALLY fix lint :)

This commit is contained in:
lilyissillyyy
2025-09-14 19:54:47 -04:00
parent 705ccb4467
commit 9cc7d89d59
+1 -1
View File
@@ -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] : [] });