Update main.py

This commit is contained in:
binlab
2024-04-02 17:30:40 +00:00
parent 5b5d079d46
commit efbe7a8230

View File

@@ -31,7 +31,7 @@ async def on_ready():
print(f"características actuales: {msg.content}")
await send_log(f"hora de inicio: {time.ctime(time.time() + 3600)}")
mensaje_jueves.start()
horario.start()
horario_enviar.start()
@@ -133,7 +133,7 @@ async def mensaje_jueves():
@tasks.loop(hours = 1)
async def horario():
async def horario_enviar():
try:
if not 6 <= time.localtime().tm_hour <= 8: return
user = bot.get_user(670695670486794260)