diff --git a/main.py b/main.py index 5d83d58..0fa94f0 100644 --- a/main.py +++ b/main.py @@ -5,7 +5,7 @@ import os import random import time -from Horario import horario +#from Horario import horario intents = discord.Intents.all() # intents.members = True @@ -119,6 +119,18 @@ async def mensaje_jueves(): await send_log(f"rip. Error: ```{e}```") + + +@tasks.loop(seconds = 5.0) +async def horario(): + try: + user = client.get_user(670695670486794260) + if time.localtime().tm_wday == 5: + await user.send("prueba") + + + + async def rima(ctx, message): try: if message.content.lower().endswith("murciano") and message.author != bot.user: