Update main.py
This commit is contained in:
7
main.py
7
main.py
@@ -140,6 +140,13 @@ async def send_log(msg):
|
|||||||
channel = bot.get_channel(1153800096761262152)
|
channel = bot.get_channel(1153800096761262152)
|
||||||
await channel.send(msg)
|
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):
|
def parse_cmds(f):
|
||||||
cmd_file = open(f)
|
cmd_file = open(f)
|
||||||
|
|||||||
Reference in New Issue
Block a user