diff --git a/redbot/cogs/general/general.py b/redbot/cogs/general/general.py index 797640e12ea..c69545f9de8 100644 --- a/redbot/cogs/general/general.py +++ b/redbot/cogs/general/general.py @@ -220,7 +220,7 @@ async def stopwatch(self, ctx): 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://lmgtfy.app/?q={search_terms}&s=g") @commands.command(hidden=True) @commands.guild_only()