Skip to content

Conversation

@Mid0aria
Copy link
Contributor

Description

  • On the watch page, a "View Anime" button is now added alongside the "View Episode" button, providing a direct link to the anime's main page.
  • On studio pages, a new "View Studio" button is now displayed.
  • Introduces a new route handler for the '/partner' page in Anizium.
  • Added privacy mode
  • Added usePresenceName setting

Acknowledgements

Screenshots

Proof showing the creation/modification is working as expected image image image image image image

This commit improves the buttons for the Anizium presence.

- On the watch page, a "View Anime" button is now added alongside the "View Episode" button, providing a direct link to the anime's main page.
- On studio pages, a new "View Studio" button is now displayed.
Introduces a new route handler for the '/partner' page in Anizium.
Introduces a new "Privacy Mode" setting for the Anizium website. This feature allows users to hide anime and episode information from their Discord presence.

The changes include:
- Adding a `privacy` boolean to the `AniziumSettings` interface and `SETTINGS_CONFIG`.
- Including the "Privacy Mode" setting in `metadata.json` with appropriate title, description, icon, and default value.
- Implementing the privacy mode logic in `presence.ts` to display "Gizlilik Modu Aktif" when enabled.
- Updating descriptions for existing settings to be more concise and accurate.
This commit introduces a new setting, `usePresenceName`, which allows users to control whether the Rich Presence displays "Anizium" or the anime's actual title as the main presence name.

Previously, the presence name was always "Anizium". With this change, users can now choose to see the anime's title directly in their Discord Rich Presence, providing a more informative experience.

The `handleAnimePageUpdate` and `handleWatchingPageUpdate` functions have been modified to conditionally set the `name`, `details`, and `state` fields of the `presenceData` object based on the `usePresenceName` setting. A new entry for `usePresenceName` has also been added to the `SETTINGS_CONFIG` and `metadata.json` files, along with its corresponding type in `AniziumSettings`.
This commit introduces conditional visibility (`if` property) to several Anizium presence settings in `metadata.json`.

The following settings will now only be visible when the `privacy` setting is `false`:
- `showButtons`
- `showPosters`
- `watchingDetails`
- `watchingState`
- `showTimestamp`

Additionally, `watchingDetails` and `watchingState` will only be visible when `usePresenceName` is also `true`.

This change improves the user experience by only displaying relevant settings based on other configuration choices, reducing clutter and potential confusion.
Introduce a `privacy` setting to control the display of posters. When the `privacy` setting is enabled, posters will no longer be shown, even if `showPosters` is true. This provides users with more control over the information shared in their presence.
@theusaf theusaf changed the title feat(Anizium): Add option to customize presence name feat(Anizium): add option to customize Activity name Jan 3, 2026
@Mid0aria Mid0aria requested a review from theusaf January 3, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants