diff --git a/main.py b/main.py index a149051..67c0062 100644 --- a/main.py +++ b/main.py @@ -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)