This commit is contained in:
binlab
2024-06-03 19:05:16 +00:00
parent bc3f890825
commit 2c625c0c6c

View File

@@ -33,7 +33,7 @@ async def on_ready():
await send_log(f"hora de inicio: {time.ctime(time.time())}") await send_log(f"hora de inicio: {time.ctime(time.time())}")
mensaje_jueves.start() mensaje_jueves.start()
# horario_enviar.start() # horario_enviar.start()
mandar_ebau.start() # mandar_ebau.start()
@@ -153,7 +153,7 @@ async def mensaje_jueves():
except Exception as e: except Exception as e:
await send_log(f"rip. Error: ```{e}```") await send_log(f"rip. Error: ```{e}```")
@tasks.loop(hours = 1) # @tasks.loop(hours = 1)
async def mandar_ebau(): async def mandar_ebau():
try: try:
if time.localtime().tm_hour != 6: return if time.localtime().tm_hour != 6: return