Update main.py
This commit is contained in:
4
main.py
4
main.py
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user