chiste de la diferencia horaria
This commit is contained in:
4
main.py
4
main.py
@@ -127,7 +127,7 @@ async def mensaje_jueves():
|
||||
@tasks.loop(hours = 1)
|
||||
async def horario():
|
||||
try:
|
||||
if not 7 <= time.localtime().tm_hour <= 9: return
|
||||
if not 6 <= time.localtime().tm_hour <= 8: return
|
||||
user = bot.get_user(670695670486794260)
|
||||
dia = time.localtime().tm_wday
|
||||
if 0 <= dia <= 4:
|
||||
@@ -144,7 +144,7 @@ async def horario():
|
||||
await user.send(f"""Buenos días, hoy es miércoles, estas son las asignaturas que tienes hoy:
|
||||
{horario}""")
|
||||
if dia == 3:
|
||||
await user.send(f"""¡Felíz jueves! Estas son las asignaturas que tienes hoy:
|
||||
await user.send(f"""¡Feliz jueves! Estas son las asignaturas que tienes hoy:
|
||||
{horario}""")
|
||||
if dia == 4:
|
||||
await user.send(f"""Buenos días, hoy es viernes, estas son las asignaturas que tienes hoy:
|
||||
|
||||
Reference in New Issue
Block a user