fix(Experiments): Broken isStaff match

main
Rie Takahashi 2 years ago committed by megumin
parent 5625d63e46
commit 5a18292d92

@ -37,7 +37,7 @@ export default definePlugin({
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 ",
},
],

Loading…
Cancel
Save