From 30123e736e74e71fcfc5a5d51fd4b02a46a66118 Mon Sep 17 00:00:00 2001 From: binlab Date: Wed, 10 Apr 2024 22:08:08 +0000 Subject: [PATCH] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index e05a68d..ffe700f 100644 --- a/main.py +++ b/main.py @@ -119,7 +119,7 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], @tasks.loop(hours = 1) async def mensaje_jueves(): try: - if time.localtime().tm_hour != 24: return + if time.localtime().tm_hour != 0: return channel = bot.get_channel(782191552247234632) c2 = bot.get_channel(1153800096761262152) # await c2.send(time.localtime().tm_hour + 1)