From eb81962ae63dd7b32b41f765fb0162697eccb72a Mon Sep 17 00:00:00 2001 From: "Mike2.0" Date: Sat, 11 Nov 2023 14:52:09 +0000 Subject: [PATCH] Update main.py --- main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index 89d9940..3b12e36 100644 --- a/main.py +++ b/main.py @@ -108,12 +108,12 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], @tasks.loop(seconds = 5.0) -async def mensaje_jueves(): -current_time = time.localtime() -día_semana = current_time.tm_wday -if día_semana = 5 - channel = bot.get_channel(1051497546708697120) - await channel.send("prueba") + async def mensaje_jueves(): + current_time = time.localtime() + día_semana = current_time.tm_wday + channel = bot.get_channel(1051497546708697120) + if día_semana = 5 + await channel.send("prueba")