mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Set Doomsday clock url
This commit is contained in:
@@ -23,6 +23,7 @@ module.exports = class DoomsdayClockCommand extends Command {
|
||||
.setTitle(`${year}: ${time}`)
|
||||
.setColor(0x000000)
|
||||
.setThumbnail(image)
|
||||
.setURL('https://thebulletin.org/doomsday-clock/past-announcements/')
|
||||
.setAuthor('Bulletin of the Atomic Scientists', undefined, 'https://thebulletin.org/')
|
||||
.setDescription(description.replace(/<a href="(.+)">(.+)<\/a>/, '[$2]($1)'));
|
||||
return msg.embed(embed);
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "81.0.3",
|
||||
"version": "81.0.4",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user