Spaces:
Building
Building
Update petsimgo.py
Browse files- petsimgo.py +3 -3
petsimgo.py
CHANGED
@@ -13,9 +13,9 @@ async def petsimgo(interaction: discord.Interaction, petname: str):
|
|
13 |
return await response.json()
|
14 |
return None
|
15 |
|
16 |
-
exists_data = await fetch_data("https://
|
17 |
-
rap_data = await fetch_data("https://
|
18 |
-
collection_data = await fetch_data("https://
|
19 |
|
20 |
if not exists_data or not rap_data or not collection_data:
|
21 |
await interaction.followup.send("error")
|
|
|
13 |
return await response.json()
|
14 |
return None
|
15 |
|
16 |
+
exists_data = await fetch_data("https://existsapi.deno.dev")
|
17 |
+
rap_data = await fetch_data("https://rapapi.deno.dev/")
|
18 |
+
collection_data = await fetch_data("https://petsapi.deno.dev/")
|
19 |
|
20 |
if not exists_data or not rap_data or not collection_data:
|
21 |
await interaction.followup.send("error")
|