diff --git a/src/bot/helper_functions.py b/src/bot/helper_functions.py index 0117695..3b40cf2 100644 --- a/src/bot/helper_functions.py +++ b/src/bot/helper_functions.py @@ -18,7 +18,7 @@ states: dict[tuple[int, int], Handler] = {} def register_state( message: Message, - handler: Callable[[Message], Any], + handler: Handler, ) -> None: states[(message.chat.id, message.from_user.id)] = handler