From 6ba4f95157a4c1c358c3a8c9dc6a1d5036deeed8 Mon Sep 17 00:00:00 2001 From: "Mike2.0" Date: Sat, 11 Nov 2023 16:00:10 +0000 Subject: [PATCH] Update main.py --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 9712107..654178c 100644 --- a/main.py +++ b/main.py @@ -110,8 +110,8 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], @tasks.loop(seconds = 5.0) async def mensaje_jueves(): channel = bot.get_channel(1051497546708697120) - hoy = time.localtime() - if hoy.tm_wday == 5: + hoy = time.localtime() + if hoy.tm_wday() == 5: await channel.send("prueba") return