mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 06:42:50 +02:00
REALLY fix lint :)
This commit is contained in:
@@ -28,7 +28,7 @@ module.exports = class ApodCommand extends Command {
|
|||||||
const credit = body.copyright ? body.copyright.replaceAll('\n', '/') : 'Public Domain';
|
const credit = body.copyright ? body.copyright.replaceAll('\n', '/') : 'Public Domain';
|
||||||
return msg.say(stripIndents`
|
return msg.say(stripIndents`
|
||||||
**${body.title}**
|
**${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)_
|
_Image Credits: [${credit}](https://apod.nasa.gov/apod/astropix.html)_
|
||||||
`, { files: body.media_type === 'image' ? [body.url] : [] });
|
`, { files: body.media_type === 'image' ? [body.url] : [] });
|
||||||
|
|||||||
Reference in New Issue
Block a user