mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
FakeNitro: Make Soundboard sounds not require boost level
This commit is contained in:
parent
4e570c12ba
commit
271e830408
1 changed files with 8 additions and 0 deletions
|
@ -388,6 +388,14 @@ export default definePlugin({
|
||||||
match: /\i\.\i\.isPremium\(\i\.\i\.getCurrentUser\(\)\)/,
|
match: /\i\.\i\.isPremium\(\i\.\i\.getCurrentUser\(\)\)/,
|
||||||
replace: "true"
|
replace: "true"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
// Make all Soundboard sounds available
|
||||||
|
{
|
||||||
|
find: 'type:"GUILD_SOUNDBOARD_SOUND_CREATE"',
|
||||||
|
replacement: {
|
||||||
|
match: /(?<=type:"(?:SOUNDBOARD_SOUNDS_RECEIVED|GUILD_SOUNDBOARD_SOUND_CREATE|GUILD_SOUNDBOARD_SOUND_UPDATE|GUILD_SOUNDBOARD_SOUNDS_UPDATE)".+?available:)\i\.available/g,
|
||||||
|
replace: "true"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue