From f40640bb286f3a540e0f908b656a45d2413ced92 Mon Sep 17 00:00:00 2001 From: "Mike2.0" Date: Sat, 11 Nov 2023 16:06:25 +0000 Subject: [PATCH] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 84716b3..bcaa9dc 100644 --- a/main.py +++ b/main.py @@ -110,7 +110,7 @@ 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) - if time.localtime.tm_wday() == 5: + if time.localtime().tm_wday == 5: await channel.send("prueba") return