Update main.py

This commit is contained in:
Mike2.0
2023-11-12 18:09:22 +00:00
parent 7c5b95e8cd
commit ad16047b9b

View File

@@ -129,14 +129,14 @@ async def horario():
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
await user.send("""Buenos días, hoy es martes, estas son las asignaturas que tienes hoy:
await user.send(f"""Buenos días, hoy es martes, estas son las asignaturas que tienes hoy:
{OrdenTorturas[0]}""")
if time.localtime().tm_wday == 2:
await user.send("""Buenos días, hoy es miércoles, estas son las asignaturas que tienes hoy:""")
await user.send(f"""Buenos días, hoy es miércoles, estas son las asignaturas que tienes hoy:""")
if time.localtime().tm_wday == 3:
await user.send("""¡Felíz jueves! Estas son las asignaturas que tienes hoy:""")
await user.send(f"""¡Felíz jueves! Estas son las asignaturas que tienes hoy:""")
if time.localtime().tm_wday == 4:
await user.send("""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:""")
except Exception as e:
await send_log(f"rip. Error: ```{e}```")