[General] Update LMGTFY link (#6255)

This commit is contained in:
Lydia 2023-11-06 21:57:55 +01:00 committed by GitHub
parent 7dfe24397e
commit 6c4a5e5407
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,7 +220,7 @@ class General(commands.Cog):
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("https://lmgtfy.app/?q={}&s=g".format(search_terms))
await ctx.send(f"https://lmgtfy2.com/query/?q={search_terms}")
@commands.command(hidden=True)
@commands.guild_only()