Update main.py

This commit is contained in:
Mike2.0
2023-11-11 16:00:10 +00:00
parent f8c8a14ba9
commit 6ba4f95157

View File

@@ -110,8 +110,8 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'],
@tasks.loop(seconds = 5.0) @tasks.loop(seconds = 5.0)
async def mensaje_jueves(): async def mensaje_jueves():
channel = bot.get_channel(1051497546708697120) channel = bot.get_channel(1051497546708697120)
hoy = <link>time.localtime()</link> hoy = time.localtime()
if hoy.tm_wday == 5: if hoy.tm_wday() == 5:
await channel.send("prueba") await channel.send("prueba")
return return