From 451505e0564a4f90df861f2241a038b9a10932aa Mon Sep 17 00:00:00 2001 From: Glas <48269777+DJTOMATO@users.noreply.github.com> Date: Sun, 3 Mar 2024 18:56:48 -0300 Subject: [PATCH] [General] Update lmgtfy to our own fork of NatoBoram/lmgtfy (#6269) --- redbot/cogs/general/general.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/redbot/cogs/general/general.py b/redbot/cogs/general/general.py index 8e251fee594..ecae27b97a2 100644 --- a/redbot/cogs/general/general.py +++ b/redbot/cogs/general/general.py @@ -220,7 +220,9 @@ async def stopwatch(self, ctx): async def lmgtfy(self, ctx, *, search_terms: str): """Create a lmgtfy link.""" search_terms = escape(urllib.parse.quote_plus(search_terms), mass_mentions=True) - await ctx.send(f"https://lmgtfy2.com/query/?q={search_terms}") + await ctx.send( + f"https://cog-creators.github.io/lmgtfy/search?q={search_terms}&btnK=Google+Search" + ) @commands.command(hidden=True) @commands.guild_only()