auto-schedule-pro-v2, auto-schedule-pro: switch to calling new module by default
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user