auto-schedule-pro-v2, auto-schedule-pro: switch to calling new module by default

This commit is contained in:
2023-05-06 18:14:53 +03:00
parent 56e57c4d7f
commit edfcc6e1be
2 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
## code ##
if (self.MESSAGE["text"].lower() == "!пара" or self.MESSAGE["text"].lower().split()[0] == "!пари"):
if (self.MESSAGE["text"].lower() == "!пара-old2" or self.MESSAGE["text"].lower().split()[0] == "!пари-old2"):
#getting current time
current_time = datetime.datetime.now()
@@ -31,7 +31,7 @@ if (self.MESSAGE["text"].lower() == "!пара" or self.MESSAGE["text"].lower().
full_schedule = dict(list(schedule.items()) + list(additions.items()))
if self.MESSAGE["text"].lower() == "!пара":
if self.MESSAGE["text"].lower() == "!пара-old2":
print("test1")
print(f"Full schedule printout: {full_schedule}")
print(f"Current delta_time: {current_seconds}")
@@ -108,7 +108,7 @@ if self.MESSAGE["text"].lower() == "!пара":
self.RESPONCE = "Актуальна пара: {}\nДата: {}\nВикладач: {}\nПосилання на пару: {}".format(p['name'], human_readable_date, p['teacher'], p['link'])
if self.MESSAGE["text"].lower().split()[0] == "!пари":
if self.MESSAGE["text"].lower().split()[0] == "!пари-old2":
command = self.MESSAGE["text"].lower().split()
preferences = {"name": True, "date": True, "teacher": True, "link": True}