mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 00:12:32 +02:00
Set Doomsday clock url
This commit is contained in:
@@ -23,6 +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/')
|
||||||
.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);
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "81.0.3",
|
"version": "81.0.4",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user