Update main.py

This commit is contained in:
Mike2.0
2023-11-12 17:51:22 +00:00
parent 1b10ed8527
commit 081cd10e7d

View File

@@ -126,7 +126,7 @@ async def horario():
try:
user = bot.get_user(670695670486794260)
if time.localtime().tm_wday == 6: #aquí va el 0, no te olvides
await user.send("Buenos días, hoy es lunes, estas son las asignaturas que tienes hoy:(dia[1])")
await user.send("Buenos días, hoy es lunes, estas son las asignaturas que tienes hoy: {(dia[1])}")
if time.localtime().tm_wday == 1:
await user.send("Buenos días, hoy es martes, estas son las asignaturas que tienes hoy:")
if time.localtime().tm_wday == 2: