From faafedb7dcfd4a431b883c6bd472a8f9e3163680 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Tue, 28 Jul 2026 14:00:33 -0300 Subject: [PATCH] TenorGifSearch: Fix gif selecting --- src/plugins/tenorGifSearch/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/tenorGifSearch/index.tsx b/src/plugins/tenorGifSearch/index.tsx index c825101b3..ab9befbde 100644 --- a/src/plugins/tenorGifSearch/index.tsx +++ b/src/plugins/tenorGifSearch/index.tsx @@ -159,8 +159,8 @@ export default definePlugin({ replace: "return $self.handleTrendingGifsFetch();$&" }, { - match: /\i\.\i\.post\(\{url:\i\.\i\.GIFS_SELECT,body:\{id:(\i),q:(\i),provider:\i\}/, - replace: "return $self.handleGifSelect($1,$2);$&" + match: /\i\.\i\.post\(\{url:\i\.\i\.GIFS_SELECT,body:\{id:(\i),q:(\i)\}/, + replace: "$self.handleGifSelect($1,$2)&&false&&$&" } ] }, @@ -193,7 +193,7 @@ export default definePlugin({ }, handleSearchFetch(query: string) { - // discord has a 100 result limit for normal search + // Discord has a 100 result limit for normal search fetchTenorResults("/search", 100, { q: query }) .then(results => { const items = mapToDiscordGifs(results);