From 06624c387351a91e3ec38b87ef41b1e4691b7450 Mon Sep 17 00:00:00 2001 From: "Mike2.0" Date: Sat, 11 Nov 2023 16:47:08 +0000 Subject: [PATCH] Update Horario.py --- Horario.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Horario.py b/Horario.py index 63d6028..09a1ab7 100644 --- a/Horario.py +++ b/Horario.py @@ -2,3 +2,11 @@ import time + + +@tasks.loop(hours = 24.0) +async def mensaje_jueves(): + try: + channel = bot.get_channel() + if time.localtime().tm_wday == 3: + await channel.send("Buenos días, hoy es ") \ No newline at end of file