FakeNitro: fix nitro themes not working for some users (#3666)
This commit is contained in:
parent
9c0af5adee
commit
fbc2dbe781
1 changed files with 2 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue