Skip to content

Commit

Permalink
[General] Update lmgtfy to our own fork of NatoBoram/lmgtfy (Cog-Crea…
Browse files Browse the repository at this point in the history
  • Loading branch information
DJTOMATO authored and Dav-Git committed Sep 8, 2024
1 parent 599aabf commit 451505e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion redbot/cogs/general/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 451505e

Please sign in to comment.