refactor(functionscalls.py): remove unnecessary print statements for image_url and json variables

The print statements for the image_url and json variables were removed as they were not providing any useful information and were cluttering the code.
This commit is contained in:
Paillat
2023-07-19 00:09:35 +02:00
parent 9af9b600d5
commit 6672bd2582

View File

@@ -205,10 +205,8 @@ async def send_a_gif(
):
query = query.replace(" ", "+")
image_url = f"{tenor_api_url}{query}&limit={limit}"
print(image_url)
response = await do_async_request(image_url)
json = response
print(json)
gif_url = random.choice(json["results"])["itemurl"] # type: ignore
message = message + "\n" + gif_url
await message_in_channel_in_wich_to_send.channel.send(message)