From 5a18292d929e35a2d848ff4e1472229d36cd0745 Mon Sep 17 00:00:00 2001 From: Rie Takahashi Date: Mon, 17 Oct 2022 21:21:01 +0100 Subject: [PATCH] fix(Experiments): Broken isStaff match --- src/plugins/experiments.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/experiments.tsx b/src/plugins/experiments.tsx index 4cc2167c..dde08a4d 100644 --- a/src/plugins/experiments.tsx +++ b/src/plugins/experiments.tsx @@ -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 ", }, ],