fix(Experiments): Broken isStaff match

This commit is contained in:
Rie Takahashi 2022-10-17 21:21:01 +01:00 committed by megumin
parent 5625d63e46
commit 5a18292d92

View file

@ -37,7 +37,7 @@ export default definePlugin({
replace: "return Vencord.Webpack.Common.UserStore.getCurrentUser().id===$1.id||$1.hasFlag($2.STAFF)}" replace: "return Vencord.Webpack.Common.UserStore.getCurrentUser().id===$1.id||$1.hasFlag($2.STAFF)}"
}, },
{ {
match: /hasFreePremium=function\(\){return this.is Staff\(\)\s*\|\|/, match: /hasFreePremium=function\(\){return this.isStaff\(\)\s*\|\|/,
replace: "hasFreePremium=function(){return ", replace: "hasFreePremium=function(){return ",
}, },
], ],