feat(experimental): custom streaks expiration format

This commit is contained in:
rhunk
2024-04-18 00:59:17 +02:00
parent 68c61a0b73
commit c44c36dbd4
6 changed files with 97 additions and 0 deletions

View File

@@ -898,6 +898,10 @@
"name": "Hidden Snapchat Plus Features",
"description": "Enables unreleased/beta Snapchat Plus features\nMight not work on older Snapchat versions"
},
"custom_streaks_expiration_format": {
"name": "Custom Streaks Expiration Format",
"description": "Customizes the Streaks Expiration format\n\nAvailable variables:\n - %c: Streaks Count\n - %e: Hourglass Emoji\n - %d: Days\n - %h: Hours\n - %m: Minutes\n - %s: Seconds\n - %w: Remaining Time"
},
"disable_composer_modules": {
"name": "Disable Composer Modules",
"description": "Prevents selected composer modules from being loaded\nNames must be separated by a comma"

View File

@@ -45,6 +45,7 @@ class Experimental : ConfigContainer() {
addNotices(FeatureNotice.BAN_RISK, FeatureNotice.UNSTABLE)
requireRestart()
}
val customStreaksExpirationFormat = string("custom_streaks_expiration_format") { requireRestart() }
val addFriendSourceSpoof = unique("add_friend_source_spoof",
"added_by_username",
"added_by_mention",