Update main.py
This commit is contained in:
4
main.py
4
main.py
@@ -109,7 +109,9 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'],
|
||||
|
||||
@tasks.loop(seconds = 5.0)
|
||||
async def mensaje_jueves():
|
||||
if time.struct_time.tm_wday() == 5
|
||||
current_time = time.localtime()
|
||||
día_semana = current_time.tm_wday
|
||||
if día_semana = 5
|
||||
channel = bot.get_channel(1051497546708697120)
|
||||
await channel.send("prueba")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user