Skip to content

Commit

Permalink
feat(Library of Babel): fix presence bug (#8194)
Browse files Browse the repository at this point in the history
feat(LibraryOfBabel): fix presence bug
  • Loading branch information
ION606 authored Mar 24, 2024
1 parent 0edd48b commit 27fe79f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion websites/L/Library of Babel/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"*://libraryofbabel.info/*",
"*://www.libraryofbabel.info/*"
],
"version": "1.0.1",
"version": "1.0.2",
"logo": "https://cdn.rcd.gg/PreMiD/websites/L/Library%20of%20Babel/assets/logo.png",
"thumbnail": "https://cdn.rcd.gg/PreMiD/websites/L/Library%20of%20Babel/assets/thumbnail.png",
"color": "#808080",
Expand Down
6 changes: 3 additions & 3 deletions websites/L/Library of Babel/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,16 @@ presence.on("UpdateData", async () => {
)} (page ${pageInp})`;
presenceData.details = `Reading ${
document.querySelector(".bookcont > h3")?.textContent
} (page ${pageInp})`;
} (page ${pageInp}, Anglishized)`;
}
break;

case Pages.book:
case Pages.bookmark:
presenceData.details = `Reading ${title.replace(
presenceData.details = `Reading Bookmark ${title.replace(
` ${pageInp}`,
""
)} (page ${pageInp})`;
)}`;
break;

case Pages.browse:
Expand Down

0 comments on commit 27fe79f

Please sign in to comment.