Skip to content

Commit

Permalink
chore(X.com): update assets (#7712)
Browse files Browse the repository at this point in the history
chore: update assets

Signed-off-by: SeMiD <[email protected]>
Signed-off-by: Daniel Lau <[email protected]>
Co-authored-by: Daniel Lau <[email protected]>
  • Loading branch information
SeMiD and theusaf authored Oct 29, 2023
1 parent fca762b commit 2307006
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
23 changes: 16 additions & 7 deletions websites/X/X.com/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,30 @@
"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.",
"zh_CN": "X是一家美国社交网络及微博客服务的网站,是全球互联网上访问量最大的十个网站之一。",
"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",
Expand All @@ -38,4 +47,4 @@
"value": true
}
]
}
}
2 changes: 1 addition & 1 deletion websites/X/X.com/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2307006

Please sign in to comment.