From d95be1acbaa282c53508a33d85cdda2ea76c50da Mon Sep 17 00:00:00 2001
From: fawn <fawn@envs.net>
Date: Fri, 10 Feb 2023 21:41:49 +0000
Subject: refactor: update plugins to use `$self` (#478)

Co-authored-by: Ven <vendicated@riseup.net>
---
 src/plugins/noReplyMention.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/plugins/noReplyMention.tsx')

diff --git a/src/plugins/noReplyMention.tsx b/src/plugins/noReplyMention.tsx
index 91a88d3..2e97588 100644
--- a/src/plugins/noReplyMention.tsx
+++ b/src/plugins/noReplyMention.tsx
@@ -51,7 +51,7 @@ export default definePlugin({
             replacement: {
                 match: /CREATE_PENDING_REPLY:function\((.{1,2})\){/,
                 replace:
-                    "CREATE_PENDING_REPLY:function($1){$1.shouldMention=Vencord.Plugins.plugins.NoReplyMention.shouldMention($1);",
+                    "CREATE_PENDING_REPLY:function($1){$1.shouldMention=$self.shouldMention($1);",
             },
         },
     ],
-- 
cgit 

