Data Not Being Passed from Parent Router's Filter to Handler in Inherited Router #1266
Closed
2 tasks done
Labels
bug
Something is wrong with the framework
Checklist
Operating system
Windows 10
Python version
3.10
aiogram version
3.0.0rc1
Expected behavior
When the command "/admin" is sent to the bot, the filter AdminFilter should identify whether the text "admin" is present in the message. If it is, the is_admin variable should be passed to the admin_command_handler, allowing it to execute its logic.
Current behavior
The variable is_admin is not being passed to the admin_command_handler, resulting in an error indicating that the variable is not defined.
Steps to reproduce
Code example
Logs
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: