This commit is contained in:
binlab
2023-11-15 23:03:44 +00:00
parent a4295aad4f
commit 0e2eddf1a0

View File

@@ -111,7 +111,7 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'],
@tasks.loop(hours = 1) @tasks.loop(hours = 1)
async def mensaje_jueves(): async def mensaje_jueves():
try: try:
if 8 <= time.localtime().tm_hour < 9: return if 0 <= time.localtime().tm_hour + 1 < 1: return
channel = bot.get_channel(782191552247234632) channel = bot.get_channel(782191552247234632)
if time.localtime().tm_wday == 3: if time.localtime().tm_wday == 3:
await channel.send("<@688355617681047574> FELIZ JUEVES!!!!") await channel.send("<@688355617681047574> FELIZ JUEVES!!!!")