fix badges

This commit is contained in:
Vendicated 2024-04-24 05:27:14 +02:00
parent 7f0e7dd02b
commit d5f70070ef
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
3 changed files with 11 additions and 3 deletions

View file

@ -65,7 +65,7 @@ export default definePlugin({
patches: [
/* Patch the badge list component on user profiles */
{
find: "Messages.PROFILE_USER_BADGES,role:",
find: 'id:"premium",',
replacement: [
{
match: /&&(\i)\.push\(\{id:"premium".+?\}\);/,