Fix spaces in names

This commit is contained in:
Luke Robles 2024-01-25 16:04:29 -08:00
parent fe78df580f
commit 9e2b513273

View File

@ -48,7 +48,7 @@ class PalWorld(commands.Cog):
description="Pal to look up",
),
):
pal_url = "https://paldex.io/palworld/pals/%s/" % pal.lower()
pal_url = "https://paldex.io/palworld/pals/%s/" % pal.lower().replace(" ", "-")
response = requests.get(pal_url)
soup = BeautifulSoup(response.text, "html.parser")