From a92b066ecb3835158021f1348881b60b1acbf0d7 Mon Sep 17 00:00:00 2001 From: binlab Date: Mon, 3 Jun 2024 19:08:24 +0000 Subject: [PATCH] suerte con la evau --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index ce9c36f..8364505 100644 --- a/main.py +++ b/main.py @@ -33,7 +33,7 @@ async def on_ready(): await send_log(f"hora de inicio: {time.ctime(time.time())}") mensaje_jueves.start() # horario_enviar.start() - # mandar_ebau.start() + mandar_ebau.start() @@ -153,10 +153,10 @@ async def mensaje_jueves(): except Exception as e: await send_log(f"rip. Error: ```{e}```") -# @tasks.loop(hours = 1) +@tasks.loop(hours = 1) async def mandar_ebau(): try: - # if time.localtime().tm_hour != 6: return + if time.localtime().tm_hour != 6: return channel = bot.get_channel(782191552247234632) c2 = bot.get_channel(1153800096761262152) # await c2.send(time.localtime().tm_hour + 1)