Update main.py
This commit is contained in:
14
main.py
14
main.py
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user