diff --git a/main.py b/main.py index 89d9940..3b12e36 100644 --- a/main.py +++ b/main.py @@ -108,12 +108,12 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], @tasks.loop(seconds = 5.0) -async def mensaje_jueves(): -current_time = time.localtime() -día_semana = current_time.tm_wday -if día_semana = 5 - channel = bot.get_channel(1051497546708697120) - await channel.send("prueba") + async def mensaje_jueves(): + current_time = time.localtime() + día_semana = current_time.tm_wday + channel = bot.get_channel(1051497546708697120) + if día_semana = 5 + await channel.send("prueba")