mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[General] Update lmgtfy to our own fork of NatoBoram/lmgtfy (#6269)
This commit is contained in:
parent
9dc7462d0f
commit
f5f684bad5
@ -220,7 +220,9 @@ 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(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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user