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