Update main.py
This commit is contained in:
9
main.py
9
main.py
@@ -130,7 +130,7 @@ async def rima(ctx, message):
|
||||
await ctx.reply(random.choice(["Te la mete en el pesquero","Apaliza a un forastero"]), mention_author=True, delete_after=5)
|
||||
|
||||
elif message.content.lower().endswith("jueves") and message.author != bot.user:
|
||||
await ctx.reply(random.choice(jueves[1]), mention_author=True, delete_after=5)
|
||||
await ctx.reply(random.choice(["",""]), mention_author=True, delete_after=5)
|
||||
|
||||
except Exception as e:
|
||||
await send_log(f"rip. Error: ```{e}```")
|
||||
@@ -140,13 +140,6 @@ async def send_log(msg):
|
||||
channel = bot.get_channel(1153800096761262152)
|
||||
await channel.send(msg)
|
||||
|
||||
def parse_jueves(f):
|
||||
jueves_file = open(f)
|
||||
for line in jueves_file.readlines():
|
||||
if len(line.rstrip()) == 0:
|
||||
continue
|
||||
link = [_ for _ in line.split()[0]]
|
||||
jueves.append((links))
|
||||
|
||||
def parse_cmds(f):
|
||||
cmd_file = open(f)
|
||||
|
||||
Reference in New Issue
Block a user