Update main.py

This commit is contained in:
Mike2.0
2023-11-11 17:17:52 +00:00
parent 8bc305f8e2
commit cc15330911

14
main.py
View File

@@ -5,7 +5,7 @@ import os
import random
import time
from Horario import horario
#from Horario import horario
intents = discord.Intents.all()
# intents.members = True
@@ -119,6 +119,18 @@ async def mensaje_jueves():
await send_log(f"rip. Error: ```{e}```")
@tasks.loop(seconds = 5.0)
async def horario():
try:
user = client.get_user(670695670486794260)
if time.localtime().tm_wday == 5:
await user.send("prueba")
async def rima(ctx, message):
try:
if message.content.lower().endswith("murciano") and message.author != bot.user: