From 2307006a1010c4f27c0bb3871ad716637846cf90 Mon Sep 17 00:00:00 2001 From: SeMiD Date: Sun, 29 Oct 2023 06:31:47 +0000 Subject: [PATCH] chore(X.com): update assets (#7712) chore: update assets Signed-off-by: SeMiD Signed-off-by: Daniel Lau <32113157+theusaf@users.noreply.github.com> Co-authored-by: Daniel Lau <32113157+theusaf@users.noreply.github.com> --- websites/X/X.com/metadata.json | 23 ++++++++++++++++------- websites/X/X.com/presence.ts | 2 +- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/websites/X/X.com/metadata.json b/websites/X/X.com/metadata.json index 3ce613a085f0..99379a03d794 100644 --- a/websites/X/X.com/metadata.json +++ b/websites/X/X.com/metadata.json @@ -5,7 +5,9 @@ "id": "241278257335500811" }, "service": "X.com", - "altnames": ["Twitter"], + "altnames": [ + "Twitter" + ], "description": { "en": "From breaking news and entertainment to sports and politics, from big events to everyday interests. If it's happening anywhere, it's happening on X.", "nl": "Van het laatste nieuws en entertainment tot sport en politiek, van grote evenementen tot dagelijkse interesses. Als het ergens gebeurt, gebeurt het op X.", @@ -13,13 +15,20 @@ "zh_TW": "X是一個社群網路與微部落格服務。", "vi_VN": "Từ các tin nóng, đến giải trí, đến các đề tài thể thao và chính trị, từ các sự kiện lớn tới các thú vui hằng ngày. Nếu nó đang xảy ra ở bất cứ đâu, nó đang xảy ra trên X." }, - "url": ["twitter.com", "x.com"], - "version": "1.0.0", - "logo": "https://i.imgur.com/M2cZMdq.png", - "thumbnail": "https://i.imgur.com/ogWoKqI.png", + "url": [ + "twitter.com", + "x.com" + ], + "version": "1.0.1", + "logo": "https://cdn.rcd.gg/PreMiD/websites/X/X.com/assets/logo.png", + "thumbnail": "https://cdn.rcd.gg/PreMiD/websites/X/X.com/assets/thumbnail.png", "color": "#000000", "category": "socials", - "tags": ["social", "media", "twitter"], + "tags": [ + "social", + "media", + "twitter" + ], "settings": [ { "id": "lang", @@ -38,4 +47,4 @@ "value": true } ] -} +} \ No newline at end of file diff --git a/websites/X/X.com/presence.ts b/websites/X/X.com/presence.ts index 8e29f2ec4dd7..2bce9f8b8408 100644 --- a/websites/X/X.com/presence.ts +++ b/websites/X/X.com/presence.ts @@ -157,7 +157,7 @@ presence.on("UpdateData", async () => { const presenceData: PresenceData = { details: title, state: info, - largeImageKey: "https://i.imgur.com/bTrsNge.png", + largeImageKey: "https://cdn.rcd.gg/PreMiD/websites/X/X.com/assets/0.png", }; if (time) presenceData.startTimestamp = elapsed;