From 3d7e5e39c099ea77f2c940f3810418faf3385b35 Mon Sep 17 00:00:00 2001 From: AFKplusplus <102796272+AFKplusplus@users.noreply.github.com> Date: Tue, 21 Apr 2026 15:41:04 +0800 Subject: [PATCH] Changed google command to use quote_plus from urllib.parse --- cogs/randcommands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/randcommands.py b/cogs/randcommands.py index ab3d4ec..a6cb4f6 100644 --- a/cogs/randcommands.py +++ b/cogs/randcommands.py @@ -4,6 +4,7 @@ from io import BytesIO from random import choice, getrandbits, randint from time import perf_counter +from urllib.parse import quote_plus import re import discord @@ -225,7 +226,7 @@ async def pikl(self, ctx, user: discord.Member): @commands.command(help="Googles something.", aliases=["lmgtfy", "search"]) async def google(self, ctx, *, query): - await reply(ctx, f"") + await reply(ctx, f"") def prime_factors(self, n: int) -> list: i = 2