diff --git a/main.py b/main.py index 81eb6b6..89d9940 100644 --- a/main.py +++ b/main.py @@ -109,7 +109,9 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], @tasks.loop(seconds = 5.0) async def mensaje_jueves(): - if time.struct_time.tm_wday() == 5 +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")