Update main.py
This commit is contained in:
8
main.py
8
main.py
@@ -108,11 +108,11 @@ 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()
|
||||||
día_semana = current_time.tm_wday
|
día_semana = current_time.tm_wday
|
||||||
if día_semana = 5
|
|
||||||
channel = bot.get_channel(1051497546708697120)
|
channel = bot.get_channel(1051497546708697120)
|
||||||
|
if día_semana = 5
|
||||||
await channel.send("prueba")
|
await channel.send("prueba")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user