Plugin
NoProfileThemes
Completely removes Nitro profile themes from everyone but yourself
1
import { Devs } from "@utils/constants";2
import definePlugin from "@utils/types";3
import { UserStore } from "@webpack/common";4
5
export default definePlugin({6
name: "NoProfileThemes",7
description: "Completely removes Nitro profile themes from everyone but yourself",8
tags: ["Appearance"],9
authors: [Devs.TheKodeToad],10
patches: [11
{12
find: "hasThemeColors(){",13
replacement: {14
match: /get canUsePremiumProfileCustomization\(\){return /,15
replace: "$&$self.isCurrentUser(this?.userId)&&"16
}17
},18
],19
20
isCurrentUser: (userId: string) => userId === UserStore.getCurrentUser()?.id,21
});22