From f8151ef2bd41296c35bbe7f4e0750142e82b1b53 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Tue, 29 Oct 2024 15:02:44 -0400 Subject: [PATCH] NoDefaultEmojis Fix Hardcode --- src/equicordplugins/noDefaultEmojis/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/equicordplugins/noDefaultEmojis/index.tsx b/src/equicordplugins/noDefaultEmojis/index.tsx index 5375a3c7..fdefa5db 100644 --- a/src/equicordplugins/noDefaultEmojis/index.tsx +++ b/src/equicordplugins/noDefaultEmojis/index.tsx @@ -86,8 +86,8 @@ export default definePlugin({ { find: ".Messages.EMOJI_MATCHING", replacement: { - match: /renderResults\(e\){/, - replace: "renderResults(e){ e.results.emojis = e.results.emojis.filter(emoji => !emoji.uniqueName || Vencord.Settings.plugins.NoDefaultEmojis.except.split(',\\ ').includes(emoji.uniqueName));" + match: /renderResults\((\i)\){/, + replace: "renderResults($1){ $1.results.emojis = $1.results.emojis.filter(emoji => !emoji.uniqueName || Vencord.Settings.plugins.NoDefaultEmojis.except.split(',\\ ').includes(emoji.uniqueName));" } } ],