From 2781950b4d43b6ade0b96143897d51b02c3c9a46 Mon Sep 17 00:00:00 2001 From: "Mike2.0" Date: Fri, 10 Nov 2023 18:27:44 +0000 Subject: [PATCH] Update main.py --- main.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/main.py b/main.py index cf4af3a..cad6933 100644 --- a/main.py +++ b/main.py @@ -3,8 +3,8 @@ from discord.ext import commands import os import random import time -import schedule -import asyncio +#import schedule +#import asyncio intents = discord.Intents.all() # intents.members = True @@ -106,17 +106,17 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], -@bot.event - async def jueves(): - channel = client.get_channel(1051497546708697120) +#@bot.event + # async def jueves(): + # channel = client.get_channel(1051497546708697120) - await channel.send("prueba") + # await channel.send("prueba") -async def cronómetro(): - schedule.every().friday.at("19:22").do(asyncio.run, send_message) - while True: - schedule.run_pending() - asyncio.sleep(1) +#async def cronómetro(): + #schedule.every().friday.at("19:22").do(asyncio.run, send_message) + # while True: + # schedule.run_pending() + # asyncio.sleep(1)