Update main.py
This commit is contained in:
14
main.py
14
main.py
@@ -107,14 +107,12 @@ 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() # innecesario
|
channel = bot.get_channel(1051497546708697120)
|
||||||
# dia_semana = current_time.tm_wday # innecesario
|
if time.localtime().tm_wday == 5:
|
||||||
# channel = bot.get_channel(1051497546708697120)
|
await channel.send("prueba")
|
||||||
# if time.localtime().tm_wday == 5:
|
return
|
||||||
# await channel.send("prueba")
|
|
||||||
#return
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user