Update main.py
This commit is contained in:
5
main.py
5
main.py
@@ -4,7 +4,6 @@ import os
|
||||
import random
|
||||
import time
|
||||
import datetime
|
||||
import asyncio
|
||||
|
||||
intents = discord.Intents.all()
|
||||
# intents.members = True
|
||||
@@ -111,10 +110,10 @@ async def mensaje_jueves():
|
||||
while True:
|
||||
current_date = datetime.datetime.now()
|
||||
if current_date.weekday() == 4:
|
||||
if current_date.hour == 20 and current_date.minute == 41 and current_date.second == 30:
|
||||
if current_date.hour == 20 and current_date.minute == 43 and current_date.second == 30:
|
||||
channel = bot.get_channel(1051497546708697120)
|
||||
await channel.send("prueba")
|
||||
await asyncio.sleep(1)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user