diff --git a/Horario.py b/Horario.py index 686b6c9..0d8ccaf 100644 --- a/Horario.py +++ b/Horario.py @@ -1,9 +1,18 @@ import time -@tasks.loop(hours = 24.0) -async def mensaje_jueves(): +#días = { +#0: 'Lunes' +#1: 'Martes' +#2: 'Miércoles' +#3: 'Jueves' +#4: 'Viernes' +#} + + +@tasks.loop(seconds = 5.0) +async def horario(): try: - channel = bot.get_channel() - if time.localtime().tm_wday == 3: - await channel.send("Buenos días, hoy es ") \ No newline at end of file + user = client.get_user(670695670486794260) + if time.localtime().tm_wday == 5: + await user.send("prueba")