Skip to content

Commit

Permalink
chore(PikiDiary): update assets (#9169)
Browse files Browse the repository at this point in the history
* chore: update assets

Signed-off-by: SeMiD <[email protected]>

* chore: revert to initial version

Signed-off-by: Daniel Lau <[email protected]>

* chore: cast type

---------

Signed-off-by: SeMiD <[email protected]>
Signed-off-by: Daniel Lau <[email protected]>
Co-authored-by: Daniel Lau <[email protected]>
Co-authored-by: Bas950 <[email protected]>
  • Loading branch information
3 people authored Jan 16, 2025
1 parent de12cfd commit 2b4aeff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions websites/P/PikiDiary/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"url": "pikidiary.lol",
"version": "1.0.0",
"logo": "https://i.imgur.com/R0nvAIA.png",
"thumbnail": "https://f.feridinha.com/ees9N.png",
"logo": "https://cdn.rcd.gg/PreMiD/websites/P/PikiDiary/assets/logo.png",
"thumbnail": "https://cdn.rcd.gg/PreMiD/websites/P/PikiDiary/assets/thumbnail.png",
"color": "#ABD022",
"category": "socials",
"tags": [
Expand Down
4 changes: 2 additions & 2 deletions websites/P/PikiDiary/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const presence = new Presence({
]);

const enum Assets {
Logo = "https://i.imgur.com/R0nvAIA.png",
Logo = "https://cdn.rcd.gg/PreMiD/websites/P/PikiDiary/assets/logo.png",
}

presence.on("UpdateData", async () => {
Expand Down Expand Up @@ -71,7 +71,7 @@ presence.on("UpdateData", async () => {
];
}
} else {
presenceData.type = ActivityType.Watching;
(presenceData as PresenceData).type = ActivityType.Watching;
presenceData.details = getElement("#title-text"); // live name
presenceData.state = document.querySelectorAll("a")[4].textContent; // user name
presenceData.largeImageKey =
Expand Down

0 comments on commit 2b4aeff

Please sign in to comment.