Update main.py

This commit is contained in:
Mike2.0
2023-11-11 14:57:25 +00:00
parent 5bbcc4020d
commit 03f841db48

16
main.py
View File

@@ -107,14 +107,14 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'],
@tasks.loop(seconds = 5.0) #@tasks.loop(seconds = 5.0)
async def mensaje_jueves(): # async def mensaje_jueves():
current_time = time.localtime() # current_time = time.localtime()
dia_semana = current_time.tm_wday # dia_semana = current_time.tm_wday
channel = bot.get_channel(1051497546708697120) # channel = bot.get_channel(1051497546708697120)
if dia_semana == 5: # if dia_semana == 5:
await channel.send("prueba") # await channel.send("prueba")
return #return