Update main.py

This commit is contained in:
Mike2.0
2023-11-10 19:25:04 +00:00
parent 0b7d731cab
commit cd45d9c0c2

View File

@@ -106,7 +106,7 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'],
#@bot.event
@bot.event
# async def jueves():
# fecha = datetime.strftime(fecha, '%A %H:%M:%S')
# await send_log(f"{fecha}")
@@ -123,7 +123,7 @@ async def cronómetro():
while True:
current_date = datetime.datetime.now()
if current_date.weekday() == 4:
if current_date.hour == 20 and current_date.minute == 24:
if current_date.hour == 20 and current_date.minute == 26:
await mensaje_jueves()
await asyncio.sleep(20)