From 34a07fa04ed834eed2cebee5327753e907533050 Mon Sep 17 00:00:00 2001 From: binlab Date: Mon, 13 Nov 2023 19:17:45 +0000 Subject: [PATCH] pito --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 6464273..775d405 100644 --- a/main.py +++ b/main.py @@ -108,9 +108,10 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], await send_log(f"rip. Error: ```{e}```") -@tasks.loop(hours = 24.0) +@tasks.loop(hours = 1) async def mensaje_jueves(): try: + if 8 <= time.localtime().tm_hour < 9: channel = bot.get_channel(782191552247234632) if time.localtime().tm_wday == 3: await channel.send("<@688355617681047574> FELIZ JUEVES!!!!")