mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-10 03:12:33 -05:00
Co-authored-by: Ryan <50505980+ryan5453@users.noreply.github.com> Co-authored-by: Jakub Kuczys <me@jacken.men>
This commit is contained in:
@@ -218,7 +218,7 @@ class General(commands.Cog):
|
|||||||
async def lmgtfy(self, ctx, *, search_terms: str):
|
async def lmgtfy(self, ctx, *, search_terms: str):
|
||||||
"""Create a lmgtfy link."""
|
"""Create a lmgtfy link."""
|
||||||
search_terms = escape(urllib.parse.quote_plus(search_terms), mass_mentions=True)
|
search_terms = escape(urllib.parse.quote_plus(search_terms), mass_mentions=True)
|
||||||
await ctx.send("https://lmgtfy.app/?q={}".format(search_terms))
|
await ctx.send("https://lmgtfy.app/?q={}&s=g".format(search_terms))
|
||||||
|
|
||||||
@commands.command(hidden=True)
|
@commands.command(hidden=True)
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
|
|||||||
Reference in New Issue
Block a user