feat: make custom notification sounds free for all

This commit is contained in:
Hampus Kraft
2026-02-19 13:51:49 +00:00
parent 74e4fc594f
commit bc2a78e5af
44 changed files with 2229 additions and 2828 deletions

View File

@@ -114,14 +114,6 @@ export const PLUTONIUM_PERKS: ReadonlyArray<PlutoniumPerk> = [
freeValue: false,
plutoniumValue: true,
},
{
id: 'notification_sounds',
type: 'boolean',
status: 'beta',
i18nKey: 'notification_sounds',
freeValue: false,
plutoniumValue: true,
},
{
id: 'max_guilds',
type: 'numeric',

View File

@@ -67,7 +67,7 @@ export const DEFAULT_FREE_LIMITS: Record<LimitKey, number> = {
feature_animated_avatar: 0,
feature_animated_banner: 0,
feature_custom_discriminator: 0,
feature_custom_notification_sounds: 0,
feature_custom_notification_sounds: 1,
feature_early_access: 0,
feature_global_expressions: 0,
feature_higher_video_quality: 0,

View File

@@ -103,7 +103,6 @@ function getPerkLabel(ctx: MarketingContext, perk: PlutoniumPerk): string {
ctx.locale,
),
entrance_sounds: ctx.i18n.getMessage('app.customization.custom_sounds.entrance_sounds', ctx.locale),
notification_sounds: ctx.i18n.getMessage('app.customization.custom_sounds.notification_sounds', ctx.locale),
communities: ctx.i18n.getMessage('app.communities.title', ctx.locale),
message_character_limit: ctx.i18n.getMessage(
'pricing_and_tiers.plutonium.features.message_character_limit',
@@ -388,13 +387,6 @@ function renderFeaturesSection(ctx: MarketingContext): JSX.Element {
ctx.i18n.getMessage('app.customization.custom_sounds.set_personalized_join_sounds', ctx.locale),
ctx.i18n.getMessage('beta_and_access.beta_label', ctx.locale),
)}
{renderFeatureCard(
ctx,
'speaker_high',
ctx.i18n.getMessage('app.customization.custom_sounds.notification_sounds', ctx.locale),
ctx.i18n.getMessage('app.customization.custom_sounds.upload_custom_notification_sounds', ctx.locale),
ctx.i18n.getMessage('beta_and_access.beta_label', ctx.locale),
)}
{renderFeatureCard(
ctx,
'arrow_up',
@@ -428,7 +420,6 @@ type FeatureIconName =
| 'video_camera'
| 'user_circle'
| 'user_plus'
| 'speaker_high'
| 'fluxer_premium'
| 'calendar_check'
| 'rocket'