From 451c0c806cb6dbc342e2290bf8d7582f5e6b62bb Mon Sep 17 00:00:00 2001 From: "Mike2.0" Date: Sun, 12 Nov 2023 18:13:52 +0000 Subject: [PATCH] Update main.py --- main.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index 3c5bb98..a42e396 100644 --- a/main.py +++ b/main.py @@ -125,18 +125,21 @@ async def mensaje_jueves(): async def horario(): try: user = bot.get_user(670695670486794260) - if time.localtime().tm_wday == 0: + if time.localtime().tm_wday == 0: await user.send(f"""Buenos días, hoy es lunes, estas son las asignaturas que tienes hoy: {OrdenTorturas[0]}""") - if time.localtime().tm_wday == 6: #aquí va el 1, no te olvides + if time.localtime().tm_wday == 1: await user.send(f"""Buenos días, hoy es martes, estas son las asignaturas que tienes hoy: {OrdenTorturas[1]}""") - if time.localtime().tm_wday == 2: - await user.send(f"""Buenos días, hoy es miércoles, estas son las asignaturas que tienes hoy:""") + if time.localtime().tm_wday == 6: #aquí va el 2, no te olvides + await user.send(f"""Buenos días, hoy es miércoles, estas son las asignaturas que tienes hoy: +{OrdenTorturas[2]}""") if time.localtime().tm_wday == 3: - await user.send(f"""¡Felíz jueves! Estas son las asignaturas que tienes hoy:""") + await user.send(f"""¡Felíz jueves! Estas son las asignaturas que tienes hoy: +{OrdenTorturas[3]}""") if time.localtime().tm_wday == 4: - await user.send(f"""Buenos días, hoy es viernes, estas son las asignaturas que tienes hoy:""") + await user.send(f"""Buenos días, hoy es viernes, estas son las asignaturas que tienes hoy: +{OrdenTorturas[4]}""") except Exception as e: await send_log(f"rip. Error: ```{e}```")