Skip to content

Commit

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

Signed-off-by: SeMiD <semid@premid.app>

* Update websites/Y/YNOProject/metadata.json

Signed-off-by: Bas van Zanten <bas.van.zanten007@gmail.com>

---------

Signed-off-by: SeMiD <semid@premid.app>
Signed-off-by: Bas van Zanten <bas.van.zanten007@gmail.com>
Co-authored-by: Bas van Zanten <me@bas950.com>
  • Loading branch information
SeMiD and Bas950 authored Nov 27, 2024
1 parent 09c66c2 commit ad1b187
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions websites/Y/YNOProject/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"ynoproject.net",
"www.ynoproject.net"
],
"version": "1.0.0",
"logo": "https://imgur.com/2LD3PQV.png",
"thumbnail": "https://imgur.com/HIIteum.png",
"version": "1.0.1",
"logo": "https://cdn.rcd.gg/PreMiD/websites/Y/YNOProject/assets/logo.png",
"thumbnail": "https://cdn.rcd.gg/PreMiD/websites/Y/YNOProject/assets/thumbnail.png",
"color": "#785377",
"category": "games",
"tags": [
Expand Down
4 changes: 2 additions & 2 deletions websites/Y/YNOProject/presence.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { Name, Logo } = {
Name: "YNOProject",
Logo: "https://imgur.com/2LD3PQV.png",
Logo: "https://cdn.rcd.gg/PreMiD/websites/Y/YNOProject/assets/logo.png",
},
presence = new Presence({ clientId: "1304833580291063848" });
presence.on("UpdateData", async () => {
Expand Down Expand Up @@ -54,7 +54,7 @@ async function fetchCharacterFace(): Promise<string | void> {
* (Surprisingly Discord supports GIFs in small image so it's no need to resample)
*
* @example 'url("star-transparent.gif")'.match(it)?.[2] // star-transparent.gif
* @example "url('https://example.org/me.png')".match(it)?.[2] // https://example.org/me.png
* @example "url('https://cdn.rcd.gg/PreMiD/websites/Y/YNOProject/assets/0.png')".match(it)?.[2] // https://cdn.rcd.gg/PreMiD/websites/Y/YNOProject/assets/0.png
* @returns Entire URL or nothing for guest player
*/
async function fetchBadge(): Promise<string | void> {
Expand Down

0 comments on commit ad1b187

Please sign in to comment.