Update main.py

This commit is contained in:
Mike2.0
2023-11-10 19:39:14 +00:00
parent 9e9c067917
commit 7b73943a67

View File

@@ -3,7 +3,7 @@ from discord.ext import commands
import os import os
import random import random
import time import time
from datetime import datetime import datetime
import asyncio import asyncio
intents = discord.Intents.all() intents = discord.Intents.all()
@@ -111,7 +111,7 @@ async def mensaje_jueves():
while True: while True:
current_date = datetime.datetime.now() current_date = datetime.datetime.now()
if current_date.weekday() == 4: if current_date.weekday() == 4:
if current_date.hour == 20 and current_date.minute == 34 and current_date.second == 30: if current_date.hour == 20 and current_date.minute == 41 and current_date.second == 300:
channel = bot.get_channel(1051497546708697120) channel = bot.get_channel(1051497546708697120)
await channel.send("prueba") await channel.send("prueba")
await asyncio.sleep(1) await asyncio.sleep(1)