From dd4e2048c87734802d369583ffbf7315efa3aa61 Mon Sep 17 00:00:00 2001 From: Luna Date: Thu, 19 Oct 2023 12:38:42 -0400 Subject: [PATCH] Forgot to use \i --- src/plugins/bannersEverywhere/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/bannersEverywhere/index.tsx b/src/plugins/bannersEverywhere/index.tsx index 7d4c64b59..35fa04705 100644 --- a/src/plugins/bannersEverywhere/index.tsx +++ b/src/plugins/bannersEverywhere/index.tsx @@ -106,7 +106,7 @@ export default definePlugin({ replacement: { // We add the banner as a property while we can still access the user id - match: /((\w)=\w\.user.+)(,avatar:function)/, + match: /((\i)=\i\.user.+)(,avatar:function)/, replace: "$1,banner:$self.memberListBannerHook($2)$3", }, }, @@ -115,7 +115,7 @@ export default definePlugin({ replacement: { // We cant access the user id here, so we take the banner property we set earlier - match: /(renderInner=function.+\w=)(\w)\.children/, + match: /(renderInner=function.+\i=)(\i)\.children/, replace: "$1[$2.banner, $2.children]", } }