Merge pull request #1 from Vendicated/main

FakeNitro: fix nitro themes not working for some users (#3666)
This commit is contained in:
End 2025-09-16 07:46:49 -07:00 committed by GitHub
commit 48e8fdba0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -276,6 +276,8 @@ export default definePlugin({
// Allow users to use custom client themes
{
find: "customUserThemeSettings:{",
// Discord has two separate modules for treatments 1 and 2
all: true,
replacement: {
match: /(?<=\i=)\(0,\i\.\i\)\(\i\.\i\.TIER_2\)(?=,|;)/g,
replace: "true"