From 4c07bfffe98bc331aa317ba7fbf5609af5446309 Mon Sep 17 00:00:00 2001 From: "Mike2.0" Date: Thu, 9 Nov 2023 17:47:02 +0000 Subject: [PATCH] Update main.py --- main.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/main.py b/main.py index 099c8ea..0853bfd 100644 --- a/main.py +++ b/main.py @@ -140,6 +140,13 @@ 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)