From 6672bd2582b4708c326d8e5adf56b804bdc2c7d9 Mon Sep 17 00:00:00 2001 From: Paillat Date: Wed, 19 Jul 2023 00:09:35 +0200 Subject: [PATCH] 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. --- src/functionscalls.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/functionscalls.py b/src/functionscalls.py index 0bcde64..7064fd7 100644 --- a/src/functionscalls.py +++ b/src/functionscalls.py @@ -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)