mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 01:57:54 +02:00
Better APOD pic
This commit is contained in:
@@ -27,7 +27,7 @@ module.exports = class ApodCommand extends Command {
|
|||||||
.setColor(0x2E528E)
|
.setColor(0x2E528E)
|
||||||
.setAuthor(
|
.setAuthor(
|
||||||
'Astronomy Picture of the Day',
|
'Astronomy Picture of the Day',
|
||||||
'https://i.imgur.com/AAYoZrq.jpg',
|
'https://i.imgur.com/Wh8jY9c.png',
|
||||||
'https://apod.nasa.gov/apod/astropix.html'
|
'https://apod.nasa.gov/apod/astropix.html'
|
||||||
)
|
)
|
||||||
.setImage(body.media_type === 'image' ? body.url : null)
|
.setImage(body.media_type === 'image' ? body.url : null)
|
||||||
|
|||||||
Reference in New Issue
Block a user