jaja que tonto

This commit is contained in:
binlab
2023-11-13 21:30:25 +00:00
parent 34a07fa04e
commit a4295aad4f

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: if 8 <= time.localtime().tm_hour < 9: 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!!!!")
@@ -120,7 +120,7 @@ async def mensaje_jueves():
await send_log(f"rip. Error: ```{e}```") await send_log(f"rip. Error: ```{e}```")
@tasks.loop(hours = 12.0) @tasks.loop(hours = 1)
async def horario(): async def horario():
try: try:
if not 7 <= time.localtime().tm_hour <= 9: return if not 7 <= time.localtime().tm_hour <= 9: return