mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-10 19:04:42 +02:00
should be current time
This commit is contained in:
@@ -23,7 +23,7 @@ module.exports = class DoomsdayClockCommand extends Command {
|
|||||||
.setTitle(`${year}: ${time}`)
|
.setTitle(`${year}: ${time}`)
|
||||||
.setColor(0x000000)
|
.setColor(0x000000)
|
||||||
.setThumbnail(image)
|
.setThumbnail(image)
|
||||||
.setURL('https://thebulletin.org/doomsday-clock/past-announcements/')
|
.setURL('https://thebulletin.org/doomsday-clock/current-time/')
|
||||||
.setAuthor('Bulletin of the Atomic Scientists', undefined, 'https://thebulletin.org/')
|
.setAuthor('Bulletin of the Atomic Scientists', undefined, 'https://thebulletin.org/')
|
||||||
.setDescription(description.replace(/<a href="(.+)">(.+)<\/a>/, '[$2]($1)'));
|
.setDescription(description.replace(/<a href="(.+)">(.+)<\/a>/, '[$2]($1)'));
|
||||||
return msg.embed(embed);
|
return msg.embed(embed);
|
||||||
|
|||||||
Reference in New Issue
Block a user