mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-05 18:58:53 -05:00
[General] Update LMGTFY link (#6255)
This commit is contained in:
parent
7dfe24397e
commit
6c4a5e5407
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user