From 369ac8b76f3df4f34fabd4fd0f7d8ce3d5892dad Mon Sep 17 00:00:00 2001 From: "Mike2.0" Date: Fri, 10 Nov 2023 19:32:13 +0000 Subject: [PATCH] Update main.py --- main.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index 28aa8cd..697926e 100644 --- a/main.py +++ b/main.py @@ -107,16 +107,13 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], @bot.event -async def mensaje_jueves(): - channel = bot.get_channel(1051497546708697120) - await channel.send("prueba") - async def mensaje_jueves(): while True: current_date = datetime.datetime.now() if current_date.weekday() == 4: - if current_date.hour == 20 and current_date.minute == 29: - await mensaje_jueves() + if current_date.hour == 20 and current_date.minute == 33 and current_date.second == 00: + channel = bot.get_channel(1051497546708697120) + await channel.send("prueba") await asyncio.sleep(10)