change domain to .app (#4840)

This commit is contained in:
Jamie 2021-02-20 22:50:40 +00:00 committed by GitHub
parent b20fc9f6af
commit ae2bae058c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,7 +216,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.com/?q={}".format(search_terms)) await ctx.send("https://lmgtfy.app/?q={}".format(search_terms))
@commands.command(hidden=True) @commands.command(hidden=True)
@commands.guild_only() @commands.guild_only()