-
Notifications
You must be signed in to change notification settings - Fork 52
Description
i create herokumanagerbot and see this error:
2022-06-17T06:31:49.960794+00:00 heroku[worker.1]: State changed from crashed to starting
2022-06-17T06:32:01.498517+00:00 heroku[worker.1]: Starting process with command /bin/sh -c bash\ start.sh
2022-06-17T06:32:02.092916+00:00 heroku[worker.1]: State changed from starting to up
2022-06-17T06:32:02.797298+00:00 app[worker.1]: Traceback (most recent call last):
2022-06-17T06:32:02.797309+00:00 app[worker.1]: File "bot.py", line 6, in
2022-06-17T06:32:02.797309+00:00 app[worker.1]: from filters import AuthFilter
2022-06-17T06:32:02.797310+00:00 app[worker.1]: File "/app/filters.py", line 10, in
2022-06-17T06:32:02.797310+00:00 app[worker.1]: AuthFilter = AuthorizedUserFilter()
2022-06-17T06:32:02.797310+00:00 app[worker.1]: File "/usr/local/lib/python3.8/site-packages/telegram/ext/filters.py", line 122, in new
2022-06-17T06:32:02.797311+00:00 app[worker.1]: instance = super().new(cls)
2022-06-17T06:32:02.797311+00:00 app[worker.1]: TypeError: Can't instantiate abstract class AuthorizedUserFilter with abstract methods call
2022-06-17T06:32:02.973592+00:00 heroku[worker.1]: Process exited with status 1
2022-06-17T06:32:03.724103+00:00 heroku[worker.1]: State changed from up to crashed
can you help me to fix it?