Update main.py

This commit is contained in:
Mike2.0
2023-11-10 18:56:25 +00:00
parent 7ddd6157ba
commit d2ea5df9cc

16
main.py
View File

@@ -104,17 +104,11 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'],
#@bot.event
# async def jueves():
# channel = client.get_channel(1051497546708697120)
# await channel.send("prueba")
#async def cronómetro():
#schedule.every().friday.at("19:22").do(asyncio.run, send_message)
# while True:
# schedule.run_pending()
# asyncio.sleep(1)
@bot.event
async def jueves():
fecha_actual = datetime.datetime.strftime(fecha_actual, '%A %H:%M:%S')
channel = client.get_channel(1051497546708697120)
await channel.send(fecha_actual)