Update main.py

This commit is contained in:
Mike2.0
2023-11-10 19:18:42 +00:00
parent 6e685aa39c
commit daf45f4745

View File

@@ -122,8 +122,8 @@ async def mensaje_jueves():
async def send_message_on_thursday(): async def send_message_on_thursday():
while True: while True:
current_date = datetime.datetime.now() current_date = datetime.datetime.now()
if current_date.weekday() == 3: if current_date.weekday() == 4:
if current_date.hour == 20 and current_date.minute == 17: if current_date.hour == 20 and current_date.minute == 20:
await send_message() await send_message()
await asyncio.sleep(60) await asyncio.sleep(60)