From 50ec7121b9ea3c1e105c69124eef0f8c14462811 Mon Sep 17 00:00:00 2001 From: "Mike2.0" Date: Sat, 11 Nov 2023 14:44:28 +0000 Subject: [PATCH] Update main.py --- main.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index b70efbd..81eb6b6 100644 --- a/main.py +++ b/main.py @@ -105,11 +105,16 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], await send_log(f"rip. Error: ```{e}```") -'''@tasks.loop(seconds = 5.0) + + +@tasks.loop(seconds = 5.0) async def mensaje_jueves(): + if time.struct_time.tm_wday() == 5 channel = bot.get_channel(1051497546708697120) await channel.send("prueba") -''' + + + async def rima(ctx, message): try: