[ bug reports ] pyrogram.dispatcher - ERROR - 'int' object is not callable
Closed this issue · 1 comments
Checklist
- I added a descriptive title
- I searched for other issues and couldn't find a solution or duplication
- I already searched in Google and didn't find any good information or help
Describe the bug
pyrogram.dispatcher - ERROR - 'int' object is not callable
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Deploy In [e.g. locally, heroku, digital ocean]
- Version [e.g. v.2.0.0]
Additional context
Add any other context about the problem here.
pyrogram.dispatcher - ERROR - 'int' object is not callable
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
await handler.callback(self.client, *args)
File "/Uploader/echo.py", line 116, in echo
Config.PROCESS_MAX_TIMEOUT(current_time - previous_time)
TypeError: 'int' object is not callable