diff --git a/modules/auto-schedule/index.py b/modules/auto-schedule/index.py index 485c3bd..5b84dd4 100644 --- a/modules/auto-schedule/index.py +++ b/modules/auto-schedule/index.py @@ -1,4 +1,4 @@ -if self.MESSAGE.text.lower() == "!пара": +if self.MESSAGE["text"].lower() == "!пара": try: schedule = json.loads( readfile(self.path + "schedule.json") )