Update main.py
This commit is contained in:
2
main.py
2
main.py
@@ -126,7 +126,7 @@ async def horario():
|
|||||||
try:
|
try:
|
||||||
user = bot.get_user(670695670486794260)
|
user = bot.get_user(670695670486794260)
|
||||||
if time.localtime().tm_wday == 6: #aquí va el 0, no te olvides
|
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:" NL(dia[1]))
|
||||||
if time.localtime().tm_wday == 1:
|
if time.localtime().tm_wday == 1:
|
||||||
await user.send("Buenos días, hoy es martes, estas son las asignaturas que tienes hoy:")
|
await user.send("Buenos días, hoy es martes, estas son las asignaturas que tienes hoy:")
|
||||||
if time.localtime().tm_wday == 2:
|
if time.localtime().tm_wday == 2:
|
||||||
|
|||||||
Reference in New Issue
Block a user