Update Horario.py

This commit is contained in:
Mike2.0
2023-11-11 17:16:40 +00:00
parent 382d3bdfde
commit 8bc305f8e2

View File

@@ -1,4 +1,4 @@
import time #import time
#días = { #días = {
@@ -10,9 +10,9 @@ import time
#} #}
@tasks.loop(seconds = 5.0) #@tasks.loop(seconds = 5.0)
async def horario(): #async def horario():
try: # try:
user = client.get_user(670695670486794260) # user = client.get_user(670695670486794260)
if time.localtime().tm_wday == 5: # if time.localtime().tm_wday == 5:
await user.send("prueba") # await user.send("prueba")